Format Python SDK examples

This commit is contained in:
Ahmed Ibrahim
2026-05-17 06:05:09 -07:00
parent fab7cba2c9
commit ac86b0a0e1
2 changed files with 2 additions and 6 deletions
@@ -33,9 +33,7 @@ with Codex(config=runtime_config()) as codex:
resumed_result = resumed.turn(TextInput("Continue in one short sentence.")).run()
forked = codex.thread_fork(unarchived.id, model="gpt-5.4")
forked_result = forked.turn(
TextInput("Take a different angle in one short sentence.")
).run()
forked_result = forked.turn(TextInput("Take a different angle in one short sentence.")).run()
compact_result = unarchived.compact()
@@ -22,9 +22,7 @@ async def main() -> None:
steer_turn = await thread.turn(
TextInput("Count from 1 to 40 with commas, then one summary sentence.")
)
steer_result = await steer_turn.steer(
TextInput("Keep it brief and stop after 10 numbers.")
)
steer_result = await steer_turn.steer(TextInput("Keep it brief and stop after 10 numbers."))
steer_event_count = 0
steer_completed_status = None