🔄 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

@ -563,8 +563,8 @@ const google: Record<string, SettingDefinition> = {
optionType: 'conversation',
columnSpan: 2,
},
grounding: {
key: 'grounding',
web_search: {
key: 'web_search',
label: 'com_endpoint_use_search_grounding',
labelCode: true,
description: 'com_endpoint_google_use_search_grounding',
@ -589,7 +589,7 @@ const googleConfig: SettingsConfiguration = [
librechat.resendFiles,
google.thinking,
google.thinkingBudget,
google.grounding,
google.web_search,
];
const googleCol1: SettingsConfiguration = [
@ -607,7 +607,7 @@ const googleCol2: SettingsConfiguration = [
librechat.resendFiles,
google.thinking,
google.thinkingBudget,
google.grounding,
google.web_search,
];
const openAI: SettingsConfiguration = [