FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix(openai-agents): Patch correct `run_single_turn_streamed` reference by alexander-alderman-webb · Pull Request #7032 · getsentry/sentry-python · GitHub

fix(openai-agents): Patch correct run_single_turn_streamed reference - #7032

Merged
alexander-alderman-webb merged 20 commits into
masterfrom
webb/fix-run_single_turn_streamed-patch
Aug 6, 2026
Merged

fix(openai-agents): Patch correct run_single_turn_streamed reference#7032
alexander-alderman-webb merged 20 commits into
masterfrom
webb/fix-run_single_turn_streamed-patch

Conversation

alexander-alderman-webb commented Aug 4, 2026
edited
Loading

Copy link
Copy Markdown
Contributor

Summary

The run_single_turn_streamed() function is used in agents.run_internal.run_loop, unlike run_single_turn(). See

https://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 the test_error_handling() test with AgentRunner.run() replaced by AgentRunner.run_streamed().

Issues

Reminders

alexander-alderman-webb changed the title fix(openai-agents): Patch correct run_single_turn_streamed reference fix(openai-agents): Patch correct run_single_turn_streamed reference Aug 4, 2026

github-actions Bot commented Aug 4, 2026
edited
Loading

Copy link
Copy Markdown
Contributor

Codecov Results 📊

99162 passed | ⏭️ 6479 skipped | Total: 105641 | Pass Rate: 93.87% | Execution Time: 352m 33s

📊 Comparison with Base Branch

Metric Change
Total Tests 📈 +60
Passed Tests 📈 +60
Failed Tests
Skipped Tests

All tests are passing successfully.

✅ Patch coverage is 100.00%. Project has 2499 uncovered lines.
✅ Project coverage is 89.99%. Comparing base (base) to head (head).

Coverage diff
@@            Coverage Diff             @@
##          main       #PR       +/-##
==========================================
+ Coverage    89.96%    89.99%    +0.03%
==========================================
  Files          193       193         —
  Lines        24954     24955        +1
  Branches      9004      9004         —
==========================================
+ Hits         22448     22456        +8
- Misses        2506      2499        -7
- Partials      1434      1436        +2

Generated by Codecov Action

alexander-alderman-webb marked this pull request as ready for review August 4, 2026 15:10
alexander-alderman-webb requested a review from a team as a code owner August 4, 2026 15:10
Base automatically changed from webb/use-agent-hooks to master August 6, 2026 07:17
alexander-alderman-webb merged commit 1d120dc into master Aug 6, 2026
269 of 273 checks passed
alexander-alderman-webb deleted the webb/fix-run_single_turn_streamed-patch branch August 6, 2026 07:39
mgaligniana pushed a commit to mgaligniana/sentry-python that referenced this pull request Aug 9, 2026
getsentry#7032)

The integration created a reference that doesn't 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 the `test_error_handling()` test with `AgentRunner.run()` replaced by `AgentRunner.run_streamed()`.
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL