Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions chatcompletion.go
Original file line number Diff line number Diff line change
Expand Up @@ -683,6 +683,8 @@ func (r *ChatCompletionChunkChoice) UnmarshalJSON(data []byte) error {
type ChatCompletionChunkChoiceDelta struct {
// The contents of the chunk message.
Content string `json:"content,nullable"`
// The reasoning content of the chunk message.
ReasoningContent string `json:"reasoning_content,nullable"`
// Deprecated and replaced by `tool_calls`. The name and arguments of a function
// that should be called, as generated by the model.
//
Expand Down