AntFleet

Disagreement · 847fbd10-openai-1

Health check marks 401/403 as healthy, routing to misconfigured providers

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

GPT-5 finding

Health check marks 401/403 as healthy, routing to misconfigured providers

mediumapi-contractmedium
  • python/smart_router.py
Treating 401/403 as healthy makes the router select providers with invalid credentials, leading to predictable request failures and retries instead of excluding them from the pool until credentials are valid.

Recommendation

Only mark healthy on 200. Optionally track a separate 'reachable' flag for debuggability while excluding unauthorized providers from selection. Alternatively, heavily penalize score on 401/403 or mark unhealthy until recheck.

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 →