mirror of
https://github.com/RightNow-AI/openfang.git
synced 2026-07-30 06:32:17 +00:00
fix(docs): correct search_provider value for DuckDuckGo
The docs listed `duckduckgo` as the config value but the actual serde deserialization produces `duck_duck_go` — serde's rename_all = "snake_case" on the DuckDuckGo enum variant inserts underscores at each word boundary. Updated all three occurrences in configuration.md to match the real value. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
dec081a326
commit
a3073007a1
@@ -126,7 +126,7 @@ shared_secret = "" # Required when network_enabled = true
|
||||
|
||||
# --- Web Tools ---
|
||||
[web]
|
||||
search_provider = "auto" # auto | brave | tavily | perplexity | duckduckgo
|
||||
search_provider = "auto" # auto | brave | tavily | perplexity | duck_duck_go
|
||||
cache_ttl_minutes = 15
|
||||
|
||||
[web.brave]
|
||||
@@ -341,7 +341,7 @@ cache_ttl_minutes = 15
|
||||
| `brave` | Brave Search API. Requires `BRAVE_API_KEY`. |
|
||||
| `tavily` | Tavily AI-native search. Requires `TAVILY_API_KEY`. |
|
||||
| `perplexity` | Perplexity AI search. Requires `PERPLEXITY_API_KEY`. |
|
||||
| `duckduckgo` | DuckDuckGo HTML scraping. No API key needed. |
|
||||
| `duck_duck_go` | DuckDuckGo HTML scraping. No API key needed. |
|
||||
|
||||
#### `[web.brave]`
|
||||
|
||||
@@ -1419,7 +1419,7 @@ For **web search providers**, the validator checks:
|
||||
| `brave` | `web.brave.api_key_env` |
|
||||
| `tavily` | `web.tavily.api_key_env` |
|
||||
| `perplexity` | `web.perplexity.api_key_env` |
|
||||
| `duckduckgo` | (no check -- no API key needed) |
|
||||
| `duck_duck_go` | (no check -- no API key needed) |
|
||||
| `auto` | (no check -- cascading fallback handles missing keys) |
|
||||
|
||||
### What is NOT validated
|
||||
|
||||
Reference in New Issue
Block a user