mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-10-21 09:09:53 +00:00
The API-key Responses capability probe treated every 404 as conclusive and stored responses_supported=false. The probe model is the first mapped upstream model in lexical order, so on third-party accounts it is often an auxiliary entry such as codex-auto-review; a model_not_found answer then permanently routed the account away from /v1/responses although the endpoint works. A 400/404 whose error code/type or message says the probe model does not exist or is unavailable is now inconclusive, so the stored capability is not overwritten. Plain 404/405 still mean the endpoint is missing. The probe also prefers a general gpt-* text model (not an image model) among the mapped models before falling back to the first one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>