🔄 refactor: Google grounding field to web_search for Consistency (#8285)

- Updated the Google configuration and related schemas to replace 'grounding' with 'web_search' for consistency.
- Adjusted the logic in the getGoogleConfig function to reflect the new naming convention.
- Ensured all references in parameter settings and conversation schemas are updated accordingly.
This commit is contained in:
Dustin Healy 2025-07-06 21:41:51 -07:00 committed by GitHub
parent e60c0cf201
commit 35f548a94d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 10 additions and 15 deletions

View file

@ -106,7 +106,7 @@ export function getGoogleConfig(
const authHeader = options.authHeader;
const {
grounding,
web_search,
thinking = googleSettings.thinking.default,
thinkingBudget = googleSettings.thinkingBudget.default,
...modelOptions
@ -191,7 +191,7 @@ export function getGoogleConfig(
const tools: GoogleAIToolType[] = [];
if (grounding) {
if (web_search) {
tools.push({ googleSearch: {} });
}