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

This commit is contained in:
CaIon committed 2025-06-18 20:50:13 +08:00
1 parent 423796e790
commit 17f3832487
2 files changed
+5

No files matched your search

+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 {