We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a62919e commit c0a9a75Copy full SHA for c0a9a75
chat.go
@@ -14,6 +14,7 @@ const (
14
ChatMessageRoleAssistant = "assistant"
15
ChatMessageRoleFunction = "function"
16
ChatMessageRoleTool = "tool"
17
+ ChatMessageRoleDeveloper = "developer"
18
)
19
20
const chatCompletionsSuffix = "/chat/completions"
reasoning_validator.go
@@ -35,6 +35,7 @@ var unsupportedToolsForO1Models = map[ToolType]struct{}{
35
var availableMessageRoleForO1Models = map[string]struct{}{
36
ChatMessageRoleUser: {},
37
ChatMessageRoleAssistant: {},
38
+ ChatMessageRoleDeveloper: {},
39
}
40
41
// ReasoningValidator handles validation for o-series model requests.
0 commit comments