Files
codex/sdk/python/examples/02_turn_run
Shaqayeq 3bb1a1325f python-sdk: show persisted turn items in example 02 (2026-03-13)
Update the sync and async turn-run examples to read the thread after a completed turn and print the persisted item count instead of the empty immediate TurnResult.items list.

This makes the example output match the current app-server behavior, where the completed turn payload can have empty items even though the persisted thread turn later contains the generated items.

Validation:
- python3 sdk/python/examples/02_turn_run/sync.py
- python3 sdk/python/examples/02_turn_run/async.py

Co-authored-by: Codex <noreply@openai.com>
2026-03-13 14:01:24 -07:00
..