mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-04-19 11:28:38 +00:00
fix: jsonRaw
This commit is contained in:
@@ -261,8 +261,8 @@ type GeminiChatGenerationConfig struct {
|
|||||||
CandidateCount int `json:"candidateCount,omitempty"`
|
CandidateCount int `json:"candidateCount,omitempty"`
|
||||||
StopSequences []string `json:"stopSequences,omitempty"`
|
StopSequences []string `json:"stopSequences,omitempty"`
|
||||||
ResponseMimeType string `json:"responseMimeType,omitempty"`
|
ResponseMimeType string `json:"responseMimeType,omitempty"`
|
||||||
ResponseSchema any `json:"responseSchema,omitempty"`
|
ResponseSchema json.RawMessage `json:"responseSchema,omitempty"`
|
||||||
ResponseJsonSchema any `json:"responseJsonSchema,omitempty"`
|
ResponseJsonSchema json.RawMessage `json:"responseJsonSchema,omitempty"`
|
||||||
PresencePenalty *float32 `json:"presencePenalty,omitempty"`
|
PresencePenalty *float32 `json:"presencePenalty,omitempty"`
|
||||||
FrequencyPenalty *float32 `json:"frequencyPenalty,omitempty"`
|
FrequencyPenalty *float32 `json:"frequencyPenalty,omitempty"`
|
||||||
ResponseLogprobs bool `json:"responseLogprobs,omitempty"`
|
ResponseLogprobs bool `json:"responseLogprobs,omitempty"`
|
||||||
|
|||||||
Reference in New Issue
Block a user