Merge pull request #4311 from KoellM/fix-gemini-3-toolconfig

fix(gemini): add IncludeServerSideToolInvocations field to ToolConfig
This commit is contained in:
Seefs 2026-04-18 01:13:48 +08:00 committed by GitHub
commit 5b9dcf1bda
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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 {