From 144149efaa74e01fef8dbc5a1c3745567a838e90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E7=92=90=E7=91=B6?= <1347888240@qq.com> Date: Tue, 24 Feb 2026 11:37:11 +0800 Subject: [PATCH] fix(config): add missing Tavily default config in defaults.go The TavilyConfig struct has BaseURL field, but the default config in defaults.go was missing the entire Tavily configuration. This adds the complete default config for Tavily with all fields initialized to their zero values. --- pkg/config/defaults.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkg/config/defaults.go b/pkg/config/defaults.go index b96ee4d89..8d7ab2270 100644 --- a/pkg/config/defaults.go +++ b/pkg/config/defaults.go @@ -286,6 +286,12 @@ func DefaultConfig() *Config { Enabled: true, MaxResults: 5, }, + Tavily: TavilyConfig{ + Enabled: false, + APIKey: "", + BaseURL: "", + MaxResults: 5, + }, Perplexity: PerplexityConfig{ Enabled: false, APIKey: "",