feat: add PromptCacheKey field to openai_request struct

This commit is contained in:
CaIon
2025-09-20 13:27:32 +08:00
parent 41be436c04
commit 1dd59f5d08

View File

@@ -777,6 +777,7 @@ type OpenAIResponsesRequest struct {
Reasoning *Reasoning `json:"reasoning,omitempty"`
ServiceTier string `json:"service_tier,omitempty"`
Store bool `json:"store,omitempty"`
PromptCacheKey json.RawMessage `json:"prompt_cache_key,omitempty"`
Stream bool `json:"stream,omitempty"`
Temperature float64 `json:"temperature,omitempty"`
Text json.RawMessage `json:"text,omitempty"`