feat(relay): add debug logging for Gemini request body and introduce flexible speech configuration

This commit is contained in:
CaIon
2025-06-18 20:50:13 +08:00
parent 423796e790
commit 17f3832487
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -140,6 +140,7 @@ type GeminiChatGenerationConfig struct {
Seed int64 `json:"seed,omitempty"`
ResponseModalities []string `json:"responseModalities,omitempty"`
ThinkingConfig *GeminiThinkingConfig `json:"thinkingConfig,omitempty"`
SpeechConfig json.RawMessage `json:"speechConfig,omitempty"` // RawMessage to allow flexible speech config
}
type GeminiChatCandidate struct {