fix: jsonRaw

This commit is contained in:
Seefs
2025-09-27 00:24:29 +08:00
parent c89c8a7396
commit 391d4514c0

View File

@@ -261,8 +261,8 @@ type GeminiChatGenerationConfig struct {
CandidateCount int `json:"candidateCount,omitempty"`
StopSequences []string `json:"stopSequences,omitempty"`
ResponseMimeType string `json:"responseMimeType,omitempty"`
ResponseSchema any `json:"responseSchema,omitempty"`
ResponseJsonSchema any `json:"responseJsonSchema,omitempty"`
ResponseSchema json.RawMessage `json:"responseSchema,omitempty"`
ResponseJsonSchema json.RawMessage `json:"responseJsonSchema,omitempty"`
PresencePenalty *float32 `json:"presencePenalty,omitempty"`
FrequencyPenalty *float32 `json:"frequencyPenalty,omitempty"`
ResponseLogprobs bool `json:"responseLogprobs,omitempty"`