Skip to content

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
gpt-5.4-prompt
Mar 26, 2026
Merged

feat: add gpt prompt so non codex gpt models have their own system prompt modeled after codex cli#19220
rekram1-node merged 3 commits intodevfrom
gpt-5.4-prompt

Conversation

@rekram1-node
Copy link
Copy Markdown
Collaborator

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

@rekram1-node rekram1-node enabled auto-merge (squash) March 26, 2026 05:49
@rekram1-node rekram1-node merged commit da1d372 into dev Mar 26, 2026
11 of 12 checks passed
@rekram1-node rekram1-node deleted the gpt-5.4-prompt branch March 26, 2026 15:57
@caozhiyuan
Copy link
Copy Markdown
Contributor

caozhiyuan commented Mar 27, 2026

@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"

## Intermediary updates

- Intermediary updates go to the `commentary` channel.
- User updates are short updates while you are working, they are NOT final answers.

this also work on 5.3 codex model

@caozhiyuan
Copy link
Copy Markdown
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"

## Intermediary updates

- Intermediary updates go to the `commentary` channel.
- User updates are short updates while you are working, they are NOT final answers.

this also work on 5.3 codex model

Already supported in v6 SDK version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants