Repository navigation
Add GPT-6 Astra, Sol, and Luna model support - #200
Merged
Merged
Conversation
Register the three GPT-6 chat models with their reasoning effort range, sampling limits, and Chat Completions tool-calling rules. Co-authored-by: florian <florian@omnifact.ai>
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.
What
Register OpenAI's GPT-6 chat models and apply the API constraints from the model guide:
gpt-6-astra— flagship model. Reasoning effortslow,medium,high, andmax. Chat Completions does not support tool calling.gpt-6-sol— coding and agentic work. Same effort range. Chat Completions function calling works only with reasoning disabled.gpt-6-luna— high-volume work. Same effort range and Chat Completions rule as Sol.All three reason by default (
reasoning.modeisalways-on), sotemperatureandtopPare rejected even whenreasoningis omitted.minimalis clamped tolow. Coremaxis sent as OpenAImax(earlier models still sendxhigh). Dated snapshots such asgpt-6-sol-20260922resolve to the base model.On Chat Completions, Sol and Luna requests that include tools and omit
reasoningsendreasoning_effort: "none", which is the only effort that API accepts with function tools. Combining tools withreasoningthrows and points at the Responses API.Why
GPT-6 Astra, Sol, and Luna are the current flagship API models. Without registry entries, core-ai treated them as unknown models: standard effort clamping,
max_tokensinstead ofmax_completion_tokens, and no guard against Chat Completions requests the API rejects.Testing
npm run test -w @core-ai/openainpm run lint -w @core-ai/openainpm run check-types -w @core-ai/openai