From f6ae8ea1a0f5be730491f3922a2e0606543883a5 Mon Sep 17 00:00:00 2001 From: Tyler Eastman Date: Mon, 12 Oct 2026 10:57:18 -0700 Subject: [PATCH] docs: use the current You.com Search API host in config examples The README's config.toml example and two config tests set the You.com web search base_url to api.ydc-index.io, the API's legacy host. It returns 403 Forbidden for You.com API keys created since November 2025, so a deployment copying the README example can't search. Switch them to ydc-index.io, the host in You.com's API docs and the one docs/deploying/kubernetes.md already uses. Co-authored-by: Claude Signed-off-by: Tyler Eastman --- README.md | 2 +- crates/agentic-server/src/config_file.rs | 2 +- crates/agentic-server/tests/fixtures/typed-config.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8367b1f7..8f89d8fd 100644 --- a/README.md +++ b/README.md @@ -273,7 +273,7 @@ llm_api_base = "http://127.0.0.1:5050" [web_search] # Search backend for the gateway-owned web_search tool: "you" (default), "brave", "tavily", or "searxng". provider = "you" -base_url = "https://api.ydc-index.io" +base_url = "https://ydc-index.io" api_key_env = "YOU_API_KEY" # Concurrent provider requests inside one batched web-search call; unset uses # the provider default (Brave: 1; You.com, Tavily and SearXNG: max_concurrent_gateway_calls). diff --git a/crates/agentic-server/src/config_file.rs b/crates/agentic-server/src/config_file.rs index c6f7cfd7..91ed0528 100644 --- a/crates/agentic-server/src/config_file.rs +++ b/crates/agentic-server/src/config_file.rs @@ -459,7 +459,7 @@ mod tests { llm_api_base: Some("http://127.0.0.1:5050".to_owned()), web_search: WebSearchFileConfig { provider: Some(WebSearchProviderKind::You), - base_url: Some("https://api.ydc-index.io".to_owned()), + base_url: Some("https://ydc-index.io".to_owned()), api_key_env: Some("YOU_API_KEY".to_owned()), max_concurrent_queries: None, }, diff --git a/crates/agentic-server/tests/fixtures/typed-config.toml b/crates/agentic-server/tests/fixtures/typed-config.toml index 2cf98b4f..1b43a309 100644 --- a/crates/agentic-server/tests/fixtures/typed-config.toml +++ b/crates/agentic-server/tests/fixtures/typed-config.toml @@ -2,7 +2,7 @@ llm_api_base = "http://127.0.0.1:8000/v1" database_url = "sqlite:///tmp/agentic.db" [web_search] -base_url = "https://api.ydc-index.io" +base_url = "https://ydc-index.io" api_key_env = "YOU_API_KEY" [mcp]