• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

deepset-ai / haystack / 20786350589
92%

Build:
DEFAULT BRANCH: main
Ran 07 Jan 2026 03:22PM UTC
Jobs 1
Files 245
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

07 Jan 2026 03:20PM UTC coverage: 92.165% (+0.003%) from 92.162%
20786350589

push

github

web-flow
fix: Extract usage info from any chunk in streaming response (#10265)

* fix: Extract usage info from any chunk in streaming response

The previous implementation only looked at the last chunk for usage info,
which caused issues with some API providers (like Qwen3) that may return
usage in a different chunk than the final one.

Now we iterate through chunks in reverse order to find the last non-None
usage value, making usage extraction more robust across different providers.

Closes #10258

* docs: add release notes for streaming usage fix

* style: fix formatting in test_utils.py

---------

Co-authored-by: Vladimir Blagojevic <dovlex@gmail.com>

14387 of 15610 relevant lines covered (92.17%)

0.92 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
3
88.46
0.96% components/generators/utils.py
Jobs
ID Job ID Ran Files Coverage
1 20786350589.1 07 Jan 2026 03:22PM UTC 245
92.17
GitHub Action Run
Source Files on build 20786350589
  • Tree
  • List 245
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20786350589
  • 99c7cf83 on github
  • Prev Build on main (#20785419909)
  • Next Build on main (#20812453216)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc