Skip to content

Commit

Permalink
Merge pull request #76 from SergioKingOne/feature/tool-role
Browse files Browse the repository at this point in the history
Add Tool Role to MessageRole Type
  • Loading branch information
pepperoni21 authored Sep 21, 2024
2 parents 8b21e7b + 05f290b commit 1933c2d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/generation/chat/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -297,4 +297,6 @@ pub enum MessageRole {
Assistant,
#[serde(rename = "system")]
System,
#[serde(rename = "tool")]
Tool,
}

0 comments on commit 1933c2d

Please sign in to comment.