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.
1 parent 45aa996 commit 0bd57fbCopy full SHA for 0bd57fb
chat_stream.go
@@ -6,11 +6,12 @@ import (
6
)
7
8
type ChatCompletionStreamChoiceDelta struct {
9
- Content string `json:"content,omitempty"`
10
- Role string `json:"role,omitempty"`
11
- FunctionCall *FunctionCall `json:"function_call,omitempty"`
12
- ToolCalls []ToolCall `json:"tool_calls,omitempty"`
13
- Refusal string `json:"refusal,omitempty"`
+ Content string `json:"content,omitempty"`
+ ReasoningContent string `json:"reasoning_content,omitempty"`
+ Role string `json:"role,omitempty"`
+ FunctionCall *FunctionCall `json:"function_call,omitempty"`
+ ToolCalls []ToolCall `json:"tool_calls,omitempty"`
14
+ Refusal string `json:"refusal,omitempty"`
15
}
16
17
type ChatCompletionStreamChoiceLogprobs struct {
0 commit comments