Skip to content

Commit 0bd57fb

Browse files
committed
feat: 增加思维链属性
1 parent 45aa996 commit 0bd57fb

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

chat_stream.go

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@ import (
66
)
77

88
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"`
9+
Content string `json:"content,omitempty"`
10+
ReasoningContent string `json:"reasoning_content,omitempty"`
11+
Role string `json:"role,omitempty"`
12+
FunctionCall *FunctionCall `json:"function_call,omitempty"`
13+
ToolCalls []ToolCall `json:"tool_calls,omitempty"`
14+
Refusal string `json:"refusal,omitempty"`
1415
}
1516

1617
type ChatCompletionStreamChoiceLogprobs struct {

0 commit comments

Comments
 (0)