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 into
devfrom
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 into
devfrom
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

caozhiyuan commented Mar 27, 2026

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

@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

balcsida pushed a commit to balcsida/opencode that referenced this pull request Apr 8, 2026
xywsxp pushed a commit to xywsxp/opencode that referenced this pull request Apr 24, 2026
Rwanbt pushed a commit to Rwanbt/unifia that referenced this pull request May 5, 2026
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
avion23 pushed a commit to avion23/opencode that referenced this pull request Jun 10, 2026
Rwanbt pushed a commit to Rwanbt/unifia that referenced this pull request Jun 14, 2026
MarsQiu007 referenced this pull request in MarsQiu007/openNovel Jul 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2 participants