Skip to content

Commit f349742

Browse files
committed
feat: 商汤流式
1 parent ccf7101 commit f349742

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

chat_stream.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ type ChatCompletionStreamChoiceDelta struct {
1717
// the doc from deepseek:
1818
// - https://api-docs.deepseek.com/api/create-chat-completion#responses
1919
ReasoningContent string `json:"reasoning_content,omitempty"`
20+
// sb sentence
21+
Message string `json:"message,omitempty"`
2022
}
2123

2224
type ChatCompletionStreamChoiceLogprobs struct {

0 commit comments

Comments
 (0)