fix(gemini): add IncludeServerSideToolInvocations field to ToolConfig

This commit is contained in:
KoellM
2026-04-17 20:39:47 +08:00
parent 283474020d
commit 45cc95a25c
+1
View File
@@ -46,6 +46,7 @@ func (r *GeminiChatRequest) UnmarshalJSON(data []byte) error {
type ToolConfig struct { type ToolConfig struct {
FunctionCallingConfig *FunctionCallingConfig `json:"functionCallingConfig,omitempty"` FunctionCallingConfig *FunctionCallingConfig `json:"functionCallingConfig,omitempty"`
RetrievalConfig *RetrievalConfig `json:"retrievalConfig,omitempty"` RetrievalConfig *RetrievalConfig `json:"retrievalConfig,omitempty"`
IncludeServerSideToolInvocations *bool `json:"includeServerSideToolInvocations,omitempty"`
} }
type FunctionCallingConfig struct { type FunctionCallingConfig struct {