Fix: missing Tavily config in loop.go, and the invalid config param in web_search (#660)

This commit is contained in:
Vidish
2026-02-23 09:42:34 +05:30
committed by GitHub
parent 8928f83c7f
commit 4cc8b90da9
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -97,6 +97,10 @@ func registerSharedTools(
BraveAPIKey: cfg.Tools.Web.Brave.APIKey,
BraveMaxResults: cfg.Tools.Web.Brave.MaxResults,
BraveEnabled: cfg.Tools.Web.Brave.Enabled,
TavilyAPIKey: cfg.Tools.Web.Tavily.APIKey,
TavilyBaseURL: cfg.Tools.Web.Tavily.BaseURL,
TavilyMaxResults: cfg.Tools.Web.Tavily.MaxResults,
TavilyEnabled: cfg.Tools.Web.Tavily.Enabled,
DuckDuckGoMaxResults: cfg.Tools.Web.DuckDuckGo.MaxResults,
DuckDuckGoEnabled: cfg.Tools.Web.DuckDuckGo.Enabled,
PerplexityAPIKey: cfg.Tools.Web.Perplexity.APIKey,
+1 -1
View File
@@ -102,7 +102,7 @@ func (p *TavilySearchProvider) Search(ctx context.Context, query string, count i
"search_depth": "advanced",
"include_answer": false,
"include_images": false,
"include_raw_content": "false",
"include_raw_content": false,
"max_results": count,
}