mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 17:00:15 +01:00
🔄 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:
parent
e60c0cf201
commit
35f548a94d
4 changed files with 10 additions and 15 deletions
|
|
@ -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: {} });
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue