mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-01 01:30:51 +08:00
feat: vertexai websearch support (#8260)
This commit is contained in:
parent
e68eea5684
commit
7c268088d4
@ -2708,7 +2708,7 @@ export function isWebSearchModel(model: Model): boolean {
|
||||
}
|
||||
}
|
||||
|
||||
if (provider.id === 'gemini' || provider?.type === 'gemini') {
|
||||
if (provider.id === 'gemini' || provider?.type === 'gemini' || provider.type === 'vertexai') {
|
||||
return GEMINI_SEARCH_REGEX.test(baseName)
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user