From 2436e7afb89b3f6553a4c864327d4e57b98b5af5 Mon Sep 17 00:00:00 2001 From: VaalaCat Date: Fri, 7 Mar 2025 13:22:30 +0000 Subject: [PATCH] feat: add reasoning format --- chat.go | 1 + 1 file changed, 1 insertion(+) diff --git a/chat.go b/chat.go index 2f1467e..360a69d 100644 --- a/chat.go +++ b/chat.go @@ -274,6 +274,7 @@ type ChatCompletionRequest struct { // Metadata to store with the completion. Metadata map[string]string `json:"metadata,omitempty"` IncludeReasoning *bool `json:"include_reasoning,omitempty"` + ReasoningFormat *string `json:"reasoning_format,omitempty"` // Configuration for a predicted output. Prediction *Prediction `json:"prediction,omitempty"` // ChatTemplateKwargs provides a way to add non-standard parameters to the request body.