Repository navigation
feat(provider): probe Responses support without generating tokens - #89
Merged
Merged
Conversation
POST {base}/responses with only model (no input). A 400 at validation
means Codex can use the slug; a 404 bad_response_status_code means
Chat Completions only. launch refuses the latter; provider probe
prints the verdict for saved models.
Co-authored-by: lolitaupdate <[email protected]>
Co-authored-by: lolitaupdate <[email protected]>
Keep origin/dev's skip-thinking and form-scroll notes as v20260828.1.0. Record the Responses probe under v20260828.2.0. Co-authored-by: lolitaupdate <[email protected]>
origin/dev already shipped 20260828.1.0. Allocate today's second candidate for the Responses probe. Co-authored-by: lolitaupdate <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Same New API host can list a slug and serve Chat Completions while Codex’s
POST /v1/responses404s (bad_response_status_code).GET /modelscannot tell those apart.This adds a zero-token probe:
POST {base_url}/responseswith only{"model":"<slug>"}(noinput).bad_response_status_code/Not Found→ Chat Completions only → Codex cannotcodex-switch provider probe <alias> [--model <id>]prints the verdict. Providerlaunch(CLI and TUI) refuses an unsupported slug instead of opening Codex onto that 404.Merged current
dev(skip leftover thinking level + form scroll). Version is 20260828.2.0 because20260828.1.0already shipped ondev.Test plan
cargo test --libprobe classifiers + axum probe tests +provider_probe_subcommand_parsescargo test --allcargo clippy --all-targets -- -D warningsself-update --dev:codex-switch provider probe AI-KRthen trylaunchondeepseek-v4-flash(should refuse) vsglm-5.3-flash(should start)