Skip to content

The provider probe no longer marks a healthy model family unavailable - #340

Merged
mattshax merged 1 commit into
mainfrom
probe-no-cap
Sep 15, 2026
Merged

mattshax merged 1 commit into
mainfrom
probe-no-cap

Conversation

@mattshax

Copy link
Copy Markdown
Member

The provider probe pinged with max_tokens: 1. One model family rejects every spelling of a token cap (max_output_tokens explicitly, max_tokens and max_completion_tokens behind the gateway's masked 400; measured earlier on gpt-5.6-sol), so the ping failed twice on its own parameter and the probe reported a reachable, unlocked provider as down. Every model of the family showed [unavailable] and the banner told the user to unlock a key that was never locked.

The ping now carries no cap. Cost is bounded by reading the streamed response only to its first frame, which is proof the provider answers, then aborting. A body that names a request parameter as the problem is classified as a reachable provider regardless of status, since a provider arguing about the request's shape is up. Locked and unavailable verdicts are unchanged.

Verified live against the cap-rejecting family on the gateway: the verdict is now ok. Tests: parameter rejection reads as up with no second ping; a healthy stream is read to one frame; existing locked, unlock-url, masked-twice, and cache cases still pass. 184 server tests pass.

…ailable

The probe pinged each provider with max_tokens: 1. One model family
rejects every spelling of a token cap, explicitly or behind the
gateway's masked 400, so the ping failed twice on its own parameter and
the probe reported a reachable, unlocked provider as down, with the mark
on every model of the family and a banner telling the user to unlock a
key that was never locked.

The ping now carries no cap. Its cost is bounded another way: the
response is read only until its first frame, which is proof enough that
the provider is answering, and the request is then abandoned. A body
that names a request parameter as the problem is read as a reachable
provider whatever else it says, since a provider that argues about the
request's shape is up. Tests cover the parameter rejection, the
first-frame read, and the unchanged locked and unavailable verdicts.
@mattshax
mattshax merged commit d7a4108 into main Sep 15, 2026
2 checks passed
@mattshax
mattshax deleted the probe-no-cap branch September 15, 2026 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant