feat: add gpt prompt so non codex gpt models have their own system prompt modeled after codex cli#19220
Merged
rekram1-node merged 3 commits intodevfrom Mar 26, 2026
Merged
feat: add gpt prompt so non codex gpt models have their own system prompt modeled after codex cli#19220rekram1-node merged 3 commits intodevfrom
rekram1-node merged 3 commits intodevfrom
Conversation
…ompt modeled after codex cli
Contributor
|
@rekram1-node can support gpt phase "commentary" | "final_answer" in message item ?#13278 . ai-sdk 5.x also supported phase filed now. this prompt will trigger gpt phase "commentary" this also work on 5.3 codex model |
Contributor
Already supported in v6 SDK version |
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.
Basically copying the gpt-5.4 prompt from codex cli, I think it's more bloated than it needs to be but I stripped out some of it