fix(gemini): add IncludeServerSideToolInvocations field to ToolConfig

This commit is contained in:
KoellM 2026-04-17 19:49:19 +08:00
parent 283474020d
commit 45cc95a25c
No known key found for this signature in database
GPG Key ID: 8A12DC41B0B8C522

View File

@ -46,6 +46,7 @@ func (r *GeminiChatRequest) UnmarshalJSON(data []byte) error {
type ToolConfig struct {
FunctionCallingConfig *FunctionCallingConfig `json:"functionCallingConfig,omitempty"`
RetrievalConfig *RetrievalConfig `json:"retrievalConfig,omitempty"`
IncludeServerSideToolInvocations *bool `json:"includeServerSideToolInvocations,omitempty"`
}
type FunctionCallingConfig struct {