Skip to content

fix(pydantic-ai): Determine if response is streamed based on the method#5957

Draft
alexander-alderman-webb wants to merge 7 commits intowebb/pydantic-ai/avoid-double-spansfrom
webb/pydantic-ai/streaming-attribute
Draft

fix(pydantic-ai): Determine if response is streamed based on the method#5957
alexander-alderman-webb wants to merge 7 commits intowebb/pydantic-ai/avoid-double-spansfrom
webb/pydantic-ai/streaming-attribute

Conversation

@alexander-alderman-webb
Copy link
Copy Markdown
Contributor

@alexander-alderman-webb alexander-alderman-webb commented Apr 8, 2026

Description

Issues

Reminders

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 8, 2026

Semver Impact of This PR

🟢 Patch (bug fixes)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


New Features ✨

  • (integrations) Instrument pyreqwest tracing by servusdei2018 in #5682

Bug Fixes 🐛

Pydantic Ai

  • Determine if response is streamed based on the method by alexander-alderman-webb in #5957
  • Determine if response is streamed based on the method by alexander-alderman-webb in #5957

Internal Changes 🔧

Pydantic Ai

  • Remove dead Model.request patch by alexander-alderman-webb in #5956
  • Consolidate binary blob redaction tests to stop relying on SDK internals by alexander-alderman-webb in #5946

Other

  • (openai) Split token counting by API for easier deprecation by ericapisani in #5930
  • (opentelemetry) Ignore mypy error by alexander-alderman-webb in #5927
  • Fix license metadata in setup.py by sl0thentr0py in #5934
  • Update validate-pr workflow by stephanie-anderson in #5931

🤖 This preview updates automatically when you update the PR.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 8, 2026

Codecov Results 📊

27 passed | Total: 27 | Pass Rate: 100% | Execution Time: 3.86s

📊 Comparison with Base Branch

Metric Change
Total Tests
Passed Tests
Failed Tests
Skipped Tests

✨ No test changes detected

All tests are passing successfully.

❌ Patch coverage is 0.00%. Project has 15106 uncovered lines.
✅ Project coverage is 28.11%. Comparing base (base) to head (head).

Files with missing lines (5)
File Patch % Lines
ai_client.py 0.00% ⚠️ 146 Missing
utils.py 0.00% ⚠️ 98 Missing
agent_run.py 0.00% ⚠️ 90 Missing
graph_nodes.py 0.00% ⚠️ 62 Missing
__init__.py 29.41% ⚠️ 12 Missing
Coverage diff
@@            Coverage Diff             @@
##          main       #PR       +/-##
==========================================
+ Coverage    27.99%    28.11%    +0.12%
==========================================
  Files          191       189        -2
  Lines        21165     21012      -153
  Branches      6946      7345      +399
==========================================
+ Hits          5925      5906       -19
- Misses       15240     15106      -134
- Partials       548       550        +2

Generated by Codecov Action

@alexander-alderman-webb alexander-alderman-webb changed the base branch from webb/pydantic-ai/remove-patch to webb/pydantic-ai/avoid-double-spans April 8, 2026 12:36
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.

1 participant