Преглед на файлове

feat: add PromptCacheKey field to openai_request struct

CaIon преди 5 месеца
родител
ревизия
1dd59f5d08
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      dto/openai_request.go

+ 1 - 0
dto/openai_request.go

@@ -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"`