Skip to content
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions crates/config/src/schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1577,6 +1577,7 @@ pub enum SearchProvider {
#[default]
Brave,
Perplexity,
Jina,
}

/// Web search tool configuration.
Expand Down
4 changes: 2 additions & 2 deletions crates/config/src/template.rs
Original file line number Diff line number Diff line change
Expand Up @@ -367,12 +367,12 @@ deny = [] # Tools to always deny (e.g., ["browser"])

[tools.web.search]
enabled = true # Enable web search tool
provider = "brave" # Search provider: "brave" or "perplexity"
provider = "brave" # Search provider: "brave", "perplexity", or "jina"
max_results = 5 # Number of results to return (1-10)
timeout_seconds = 30 # HTTP request timeout
cache_ttl_minutes = 15 # Cache results for this many minutes (0 = no cache)
duckduckgo_fallback = false # Off by default; enable only if you want DDG fallback without API keys
# api_key = "..." # Brave API key (or set BRAVE_API_KEY env var)
# api_key = "..." # Brave/Jina API key (or set BRAVE_API_KEY / JINA_API_KEY env var)

# Perplexity-specific settings (when provider = "perplexity")
[tools.web.search.perplexity]
Expand Down
Loading