Skip to content

Conversation

@vrtnis
Copy link
Owner

@vrtnis vrtnis commented Aug 21, 2025

Summary

  • ensure injected items during streaming cancel the current turn and get consumed on the next turn

Testing

  • uv run pytest tests/test_run_lifecycle.py::test_inject_is_consumed_on_next_turn -vv
  • make mypy (fails: RunResultStreaming has no attribute _cancel_token; test type errors)
  • make tests (fails: The api_key client option must be set either by passing api_key to the Client or by setting the OPENAI_API_KEY environment variable)

https://chatgpt.com/codex/tasks/task_e_68a6854b0b98832da8710ece7947e379

@vrtnis vrtnis merged commit 89d526c into feat/run-lifecycle-interrupt-update Aug 21, 2025
2 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2 participants