Skip to content

Support standalone tool outputs in turn/start - #41002

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/a1eeec7b9b7de67b1a1c5e829a54552b85ec118b
Aug 27, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/a1eeec7b9b7de67b1a1c5e829a54552b85ec118b

Conversation

@copyberry

@copyberry copyberry Bot commented Aug 26, 2026 •

Copy link
Copy Markdown

Support standalone tool outputs in turn/start

What changed

  • Add an optional toolOutput to turn/start for starting or steering a turn with a named function-call output instead of user input.
  • Emit standalone outputs as functionCallOutput thread items, persist them in durable history, and include them in resumed threads.
  • Validate that tool outputs have a name, are not combined with nonempty input, satisfy the text-size limit, and use supported image URLs.

Testing

  • Cover standalone tool-output notifications, model input, and resumed history in both legacy and paginated history modes.
  • Cover the text-size limit for structured tool output.

## What changed

- Add an optional `toolOutput` to `turn/start` for starting or steering a turn with a named function-call output instead of user input.
- Emit standalone outputs as `functionCallOutput` thread items, persist them in durable history, and include them in resumed threads.
- Validate that tool outputs have a name, are not combined with nonempty `input`, satisfy the text-size limit, and use supported image URLs.

## Testing

- Cover standalone tool-output notifications, model input, and resumed history in both legacy and paginated history modes.
- Cover the text-size limit for structured tool output.

GitOrigin-RevId: a1eeec7b9b7de67b1a1c5e829a54552b85ec118b
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/a1eeec7b9b7de67b1a1c5e829a54552b85ec118b branch from 621db33 to e56e492 Compare August 26, 2026 23:59
@copyberry
copyberry Bot merged commit e56e492 into main Aug 27, 2026
26 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/a1eeec7b9b7de67b1a1c5e829a54552b85ec118b branch August 27, 2026 00:00
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 27, 2026

This branch was previously deployed

1 inactive deployment
issue-triage — e56e4922 Deployed Aug 27, 2026 by EMPRESSKaileena via Translate non-English issue #9668
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants