feat: 兼容OpenAI格式下设置gemini模型联网搜索 #615

This commit is contained in:
CalciumIon committed 2024-12-12 17:58:25 +08:00
1 parent ee03e71e81
commit e54bb12a96
2 files changed
+17 -5

No files matched your search

+1
View File
@@ -34,6 +34,7 @@ type GeminiChatSafetySettings struct {
}
type GeminiChatTools struct {
GoogleSearch any `json:"googleSearch,omitempty"`
FunctionDeclarations any `json:"functionDeclarations,omitempty"`
}