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 fc2ab89 commit fd5549fCopy full SHA for fd5549f
chat.go
@@ -505,6 +505,8 @@ type ChatCompletionMessage struct {
505
506
// Reasoning Used by all the other models
507
Reasoning *string `json:"reasoning,omitempty"`
508
+ // Required to preserve reasoning blocks https://openrouter.ai/docs/use-cases/reasoning-tokens#preserving-reasoning-blocks
509
+ ReasoningDetails []ChatCompletionReasoningDetails `json:"reasoning_details,omitempty"`
510
511
FunctionCall *FunctionCall `json:"function_call,omitempty"`
512
0 commit comments