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.
This commit is contained in:
parent
7cbfa89a96
commit
144149efaa
1 changed files with 6 additions and 0 deletions
|
|
@ -286,6 +286,12 @@ func DefaultConfig() *Config {
|
|||
Enabled: true,
|
||||
MaxResults: 5,
|
||||
},
|
||||
Tavily: TavilyConfig{
|
||||
Enabled: false,
|
||||
APIKey: "",
|
||||
BaseURL: "",
|
||||
MaxResults: 5,
|
||||
},
|
||||
Perplexity: PerplexityConfig{
|
||||
Enabled: false,
|
||||
APIKey: "",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue