fix(openai-agents): Patch correct run_single_turn_streamed reference - #7032
Open
alexander-alderman-webb wants to merge 2 commits into
Open
fix(openai-agents): Patch correct run_single_turn_streamed reference#7032alexander-alderman-webb wants to merge 2 commits into
run_single_turn_streamed reference#7032alexander-alderman-webb wants to merge 2 commits into
Conversation
run_single_turn_streamed reference
Contributor
Codecov Results 📊✅ 95222 passed | ⏭️ 6343 skipped | Total: 101565 | Pass Rate: 93.75% | Execution Time: 342m 38s 📊 Comparison with Base Branch
All tests are passing successfully. ✅ Patch coverage is 100.00%. Project has 2500 uncovered lines. Coverage diff@@ Coverage Diff @@
## main #PR +/-##
==========================================
+ Coverage 89.94% 89.95% +0.01%
==========================================
Files 193 193 —
Lines 24817 24879 +62
Branches 8914 8930 +16
==========================================
+ Hits 22320 22379 +59
- Misses 2497 2500 +3
- Partials 1414 1421 +7Generated by Codecov Action |
alexander-alderman-webb
marked this pull request as ready for review
August 4, 2026 15:10
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The
run_single_turn_streamed()function is used inagents.run_internal.run_loop, unlikerun_single_turn(). Seehttps://github.com/openai/openai-agents-python/blob/19e364c17344905ce6d17f41ea4fe084cba20388/src/agents/run_internal/run_loop.py#L1231
The integration previously created a reference that doesn't otherwise exist in
openai-agents.Add assertions on the Invoke Agent span in
test_run_streamed_tool_execution_span().Add a new
test_run_streamed_error_handling()test, adapted from thetest_error_handling()test withAgentRunner.run()replaced byAgentRunner.run_streamed().Issues
Reminders
uv run ruff.feat:,fix:,ref:,meta:)