feat: 兼容OpenAI格式下设置gemini模型联网搜索 #615
This commit is contained in:
@@ -34,6 +34,7 @@ type GeminiChatSafetySettings struct {
|
||||
}
|
||||
|
||||
type GeminiChatTools struct {
|
||||
GoogleSearch any `json:"googleSearch,omitempty"`
|
||||
FunctionDeclarations any `json:"functionDeclarations,omitempty"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user