From eeac99731b05f04fc02fcc2813ea4f4a0991daf7 Mon Sep 17 00:00:00 2001 From: CaIon Date: Sat, 20 Sep 2025 13:28:33 +0800 Subject: [PATCH] feat: change ParallelToolCalls and Store fields to json.RawMessage type --- dto/openai_request.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dto/openai_request.go b/dto/openai_request.go index 53adb7f3..191fa638 100644 --- a/dto/openai_request.go +++ b/dto/openai_request.go @@ -772,11 +772,11 @@ type OpenAIResponsesRequest struct { Instructions json.RawMessage `json:"instructions,omitempty"` MaxOutputTokens uint `json:"max_output_tokens,omitempty"` Metadata json.RawMessage `json:"metadata,omitempty"` - ParallelToolCalls bool `json:"parallel_tool_calls,omitempty"` + ParallelToolCalls json.RawMessage `json:"parallel_tool_calls,omitempty"` PreviousResponseID string `json:"previous_response_id,omitempty"` Reasoning *Reasoning `json:"reasoning,omitempty"` ServiceTier string `json:"service_tier,omitempty"` - Store bool `json:"store,omitempty"` + Store json.RawMessage `json:"store,omitempty"` PromptCacheKey json.RawMessage `json:"prompt_cache_key,omitempty"` Stream bool `json:"stream,omitempty"` Temperature float64 `json:"temperature,omitempty"`