Skip to content

Commit

Permalink
feat: add constants for roles
Browse files Browse the repository at this point in the history
  • Loading branch information
yankeguo committed Jun 26, 2024
1 parent 2f76a57 commit 3d08a72
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions chat_completion.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ import (
)

const (
RoleSystem = "system"
RoleUser = "user"
RoleAssistant = "assistant"
RoleTool = "tool"

ToolChoiceAuto = "auto"

FinishReasonStop = "stop"
Expand Down

0 comments on commit 3d08a72

Please sign in to comment.