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

deepset-ai / haystack / 20786350589 / 1
92%
main: 92%

Build:
DEFAULT BRANCH: main
Ran 07 Jan 2026 03:22PM UTC
Files 245
Run time 7s
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.1

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

Source Files on job 20786350589.1
  • Tree
  • List 245
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 20786350589
  • 99c7cf83 on github
  • Prev Job for on main (#20785419909.1)
  • Next Job for on main (#20812453216.1)
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