Repository navigation
openai: codex input context limit - #642
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds the missing input limit field to three OpenAI GPT-5.1 Codex model configurations and corrects the documentation example in the README.
Changes:
- Added
input = 272_000to the[limit]section of three Codex model variants - Fixed the README documentation example to correctly show
inputfield instead of duplicatecontextfield
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| providers/openai/models/gpt-5.1-codex.toml | Added input limit field (272,000 tokens) to the GPT-5.1 Codex model configuration |
| providers/openai/models/gpt-5.1-codex-mini.toml | Added input limit field (272,000 tokens) to the GPT-5.1 Codex Mini model configuration |
| providers/openai/models/gpt-5.1-codex-max.toml | Added input limit field (272,000 tokens) to the GPT-5.1 Codex Max model configuration |
| README.md | Fixed documentation example to correctly show the input field name in the [limit] section |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Collaborator
|
wow so simple and i missed this, facepalm |
Contributor
Author
|
@rekram1-node not quite, opencode isn't actually respecting the input limits. anomalyco/opencode#8465 |
Contributor
|
User brandon93s does not have write permissions |
Collaborator
|
Yeah yeah Ik I just forgot about this field, Frank added it a while ago for this and I just forgot |
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.
See anomalyco/opencode#7705