Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions chat.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ const (
ChatMessageRoleAssistant = "assistant"
ChatMessageRoleFunction = "function"
ChatMessageRoleTool = "tool"
ChatMessageRoleDeveloper = "developer"
)

const chatCompletionsSuffix = "/chat/completions"
Expand Down
1 change: 1 addition & 0 deletions reasoning_validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ var unsupportedToolsForO1Models = map[ToolType]struct{}{
var availableMessageRoleForO1Models = map[string]struct{}{
ChatMessageRoleUser: {},
ChatMessageRoleAssistant: {},
ChatMessageRoleDeveloper: {},
}

// ReasoningValidator handles validation for o-series model requests.
Expand Down
Loading