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 f349742 commit e5e0a66Copy full SHA for e5e0a66
chat_stream.go
@@ -17,8 +17,6 @@ type ChatCompletionStreamChoiceDelta struct {
17
// the doc from deepseek:
18
// - https://api-docs.deepseek.com/api/create-chat-completion#responses
19
ReasoningContent string `json:"reasoning_content,omitempty"`
20
- // sb sentence
21
- Message string `json:"message,omitempty"`
22
}
23
24
type ChatCompletionStreamChoiceLogprobs struct {
@@ -45,6 +43,8 @@ type ChatCompletionStreamChoice struct {
45
43
Logprobs *ChatCompletionStreamChoiceLogprobs `json:"logprobs,omitempty"`
46
44
FinishReason FinishReason `json:"finish_reason"`
47
ContentFilterResults ContentFilterResults `json:"content_filter_results,omitempty"`
+ // sb sentence
+ Message string `json:"message,omitempty"`
48
49
50
type PromptFilterResult struct {
0 commit comments