We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
omitempty
reasoning_content
1 parent f0be845 commit c572625Copy full SHA for c572625
pkg/llm/openai/types.go
@@ -11,7 +11,7 @@ type CreateRequest struct {
11
type MessageParam struct {
12
Role string `json:"role"`
13
Content *string `json:"content"`
14
- ReasoningContent *string `json:"reasoning_content"`
+ ReasoningContent *string `json:"reasoning_content,omitempty"`
15
FunctionCall *FunctionCall `json:"function_call,omitempty"`
16
ToolCalls []ToolCall `json:"tool_calls,omitempty"`
17
Name string `json:"name,omitempty"`
0 commit comments