Refresh OpenAI and Anthropic model catalogs - #51
Merged
Conversation
iskakaushik
force-pushed
the
provider-refresh/03-model-catalog
branch
from
August 19, 2026 17:43
9d68fa2 to
fcdeb5b
Compare
The model constants predate the current provider lineups: the GPT-5.6 family and GPT-5.5 were missing, as were Claude Fable 5, Opus 5, Opus 4.8, and Sonnet 5, while long-retired identifiers (GPT-4o, GPT-4, GPT-3.5, the o-series, Claude Sonnet/Opus 4.0) were still advertised. Add the current identifiers with explicit dated snapshot constants, remove the retired ones, and move the defaults to gpt-5.6 and claude-sonnet-5. Removing the retired constants is a source-compatibility change for callers still referencing them. Two request-building accommodations come with the new models. GPT-5.6 defaults to reasoning on Chat Completions, which does not support function tools and can consume the whole completion budget without producing user-visible text, so requests pin reasoning_effort to "none". Recent Claude models reject sampling controls, so temperature and top_p are omitted for those model IDs with a warning log. Update supported_models(), mocks, fixtures, unit and integration tests, examples, and documentation accordingly. Tests that need a neutral model now use the literal "test-model" instead of a real identifier.
iskakaushik
force-pushed
the
provider-refresh/03-model-catalog
branch
from
August 19, 2026 17:44
fcdeb5b to
c523210
Compare
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.
The model constants predate the current provider lineups: the
GPT-5.6 family and GPT-5.5 were missing, as were Claude Fable 5,
Opus 5, Opus 4.8, and Sonnet 5, while long-retired identifiers
(GPT-4o, GPT-4, GPT-3.5, the o-series, Claude Sonnet/Opus 4.0) were
still advertised. Add the current identifiers with explicit dated
snapshot constants, remove the retired ones, and move the defaults
to gpt-5.6 and claude-sonnet-5. Removing the retired constants is a
source-compatibility change for callers still referencing them.
Two request-building accommodations come with the new models.
GPT-5.6 defaults to reasoning on Chat Completions, which does not
support function tools and can consume the whole completion budget
without producing user-visible text, so requests pin
reasoning_effort to "none". Recent Claude models reject sampling
controls, so temperature and top_p are omitted for those model IDs
with a warning log.
Update supported_models(), mocks, fixtures, unit and integration
tests, examples, and documentation accordingly. Tests that need a
neutral model now use the literal "test-model" instead of a real
identifier.
Stack created with GitHub Stacks CLI • Give Feedback 💬