feat: vertexai websearch support (#8260)
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user