AntFleet

Disagreement · 847fbd10-openai-0

Mistral provider has empty ping_url, causing invalid URL fetch and permanent unhealthy state

solo GPT-5
repo 7e34f3ef·PR #3·reviewed 1 week ago

GPT-5 finding

Mistral provider has empty ping_url, causing invalid URL fetch and permanent unhealthy state

mediumbughigh
  • python/smart_router.py
  • python/smart_router.py
When MISTRAL_API_KEY is set, is_configured is True and _ping_provider will attempt GET on an empty string URL, which raises and marks the provider unhealthy. This prevents routing to Mistral even if configured correctly.

Recommendation

Provide a valid Mistral health endpoint (e.g., https://api.mistral.ai/v1/models) in build_default_providers, or modify _ping_provider to skip pinging when ping_url is empty or invalid.

Other reviewer

The other reviewer flagged nothing in this file/line range.

Why this didn't post

This finding didn't meet AntFleet's unanimous agreement threshold. Both frontier models review every PR independently; only findings they both flag with the same severity and category are posted to the PR. This one fell through.

read the methodology →