Skip to content

Allow custom Codex instructions for realtime transitions - #36408

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/b9cfa1ff22e084d8a6b2ed56bd27d95ffdd6b6bd
Jul 31, 2026
Merged

Allow custom Codex instructions for realtime transitions#36408
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/b9cfa1ff22e084d8a6b2ed56bd27d95ffdd6b6bd

Conversation

@copyberry

@copyberry copyberry Bot commented Jul 31, 2026

Copy link
Copy Markdown

Allow custom Codex instructions for realtime transitions

What changed

  • Add optional realtimeStartInstructions and realtimeEndInstructions fields to thread/realtime/start.
  • Apply the instructions when Codex enters and leaves realtime mode, while preserving the existing defaults when either field is omitted.
  • Limit each field to 8,192 estimated tokens.

Testing

  • Cover custom entry and exit instructions across realtime state transitions.
  • Cover token-limit validation for both fields.
## What changed

- Add optional `realtimeStartInstructions` and `realtimeEndInstructions` fields to `thread/realtime/start`.
- Apply the instructions when Codex enters and leaves realtime mode, while preserving the existing defaults when either field is omitted.
- Limit each field to 8,192 estimated tokens.

## Testing

- Cover custom entry and exit instructions across realtime state transitions.
- Cover token-limit validation for both fields.

GitOrigin-RevId: b9cfa1ff22e084d8a6b2ed56bd27d95ffdd6b6bd
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/b9cfa1ff22e084d8a6b2ed56bd27d95ffdd6b6bd branch from 6d63cd5 to 670f694 Compare July 31, 2026 23:52
@copyberry
copyberry Bot merged commit 670f694 into main Jul 31, 2026
29 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/b9cfa1ff22e084d8a6b2ed56bd27d95ffdd6b6bd branch July 31, 2026 23:53
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 31, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

1 participant