← Back to Pull requests

docs: use the current You.com Search API host in config examples #439

Closed
unknown closed this pull request without merging on Oct 14, 2026 12:29 UTC
View on GitHub
unknown unknown commented on Oct 12, 2026 17:57 UTC
Author

Summary

The README's config.toml example sets the You.com web search base_url to https://api.ydc-index.io, the You.com API's legacy host. That host returns 403 {"message":"Forbidden"} for API keys created at you.com/platform since November 2025, so a deployment that copies the README example can't search. This switches the example to https://ydc-index.io, the host in You.com's API docs. docs/deploying/kubernetes.md already uses it.

It also updates the same value in two config tests (creates_secret_free_default_config_from_runtime_settings and the typed-config.toml fixture). The default_base_url behavior is unchanged: You.com still has no built-in default, per #291.

This partly answers #291 Q2 ("which host is canonical"): it's https://ydc-index.io. I work at You.com.

Test Plan

  • Live check of the unchanged YouSearchProvider with a current You.com key, through a temporary ignored test (not included in this PR):

  • - base_url = https://api.ydc-index.io: You.com search returned 403 Forbidden: {"message":"Forbidden"}
    - base_url = https://ydc-index.io: 3 web results (github.com/vllm-project/vllm, vllm.ai, en.wikipedia.org/wiki/VLLM)
  • cargo test: all pass, including the 27 config_file::tests

  • cargo clippy --all-targets -- -D warnings: clean

  • cargo fmt -- --check and pre-commit run on the changed files: pass
  • AI assistance (Claude) was used to prepare this change. I reviewed and tested it.

    Diff: 193 lines (+144 / -49) across 2 files Reviewer: franciscojavierarceo Review duration: 2552m
    All Vouch review confidence checks passed
    Residual risk 0.23 = Change Risk (0.59) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.59 · 193 lines diff across 2 files
    0.59
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.315
    Shallow Review Depth shallow_review_depth
    0.289
    Sensitive Paths sensitive_paths
    0.059
    Real PR Conversation Timeline
    1 comments
    "Review active on #439"
    general weight: 0.35
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed sensitive_module
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 59.2% (MEDIUM) · Higher = larger blast radius
    59.2%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 23.4% · Safe to merge
    23.4%