Repository navigation
Add GPT-6.2 Sol and GPT-6.2 Astra - #193
Merged
Merged
Conversation
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.
OpenAI's
gpt-6.2-solandgpt-6.2-astra, and their Amazon Bedrock Mantle equivalents, are not known to ai-lib. They show up as raw IDs, and because the generic GPT-6 rule keeps "off", consumers offer a thinking level the models reject: OpenAI's model pages say reasoning effortnoneis not supported, and Bedrock Mantle sends "off" as the wire valuenone. This adds curated names, the correct reasoning levels (low through max) and Bedrock limits for both models.The companion posit-dev/assistant PR adds pricing and picker status and bumps this submodule pin. Merge this one first.
Why this approach
The GPT-6 capability profile already matches any
gpt-6*ID and is shared by direct OpenAI and Bedrock, so this extends the existing no-"off" regex togpt-6.2-solandgpt-6.2-astrainstead of adding a new rule. Both providers stay in sync by construction. I did not flip the rule to "every GPT-6 model except an allow-list": unknown future IDs, including baregpt-6.2, keep "off" on purpose until someone documents them.The OpenAI offline fallback list now stores only IDs, and
buildOpenAIModelgets every name fromgetOpenAIModelName, so each display name is written in one place and neither caller passes one.What changed
GPT6_NO_OFF_MODELingpt6-model-profile.tsalso matches the two 6.2 IDs, still only at a model-name boundary.GPT6_PUBLISHED_LIMITS(1.05M window, 128K output), taken from their AWS model cards.openai-model-names.ts, and both IDs in the OpenAI fallback list.memory-bank/aiConfig.md.What to watch for
noneandminimal.Testing
npm testinai-config(802 tests) andai-provider-bridge(1111 tests) passes. The newinfer.test.tscase, which checks that both models get no "off" on OpenAI and Bedrock, failed before the change. Per the table-row rule, there are no per-row tests for the new names, fallback IDs or limits.