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

deepset-ai / haystack / 15872154775
92%

Build:
DEFAULT BRANCH: main
Ran 25 Jun 2025 09:08AM UTC
Jobs 1
Files 215
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

25 Jun 2025 09:06AM UTC coverage: 90.219% (-0.01%) from 90.23%
15872154775

push

github

web-flow
feat: Add `finish_reason` field to `StreamingChunk` (#9536)

* Initial commit

* Update deprecation version

* Improve comment

* Minor simplification

* Add reno note

* Remove deprecation warning

* Remove fallback in haystack/components/generators/utils.py

* FinishReason alphabetical import

* Add tool_call_results finish reason, adapt codebase

* Define finish_reason to be Optional[FinishReason]

* Add StreamingChunk finish_reason in HF generators

* Update reno note

* Repair merge issue

* Update tests for finish_reason

* Resolve mypy issues

* Lint issue

* Enhance HF finish_reason translation

* Remove irrlevant test

* PR comments

---------

Co-authored-by: Sebastian Husch Lee <sjrl423@gmail.com>

11677 of 12943 relevant lines covered (90.22%)

0.9 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
96.43
0.09% components/generators/hugging_face_api.py
2
23.08
-0.92% dataclasses/__init__.py
4
91.53
0.3% dataclasses/streaming_chunk.py
6
96.39
0.02% components/generators/chat/openai.py
10
94.79
-0.81% components/generators/chat/hugging_face_api.py
14
83.94
0.0% components/tools/tool_invoker.py
Jobs
ID Job ID Ran Files Coverage
1 15872154775.1 25 Jun 2025 09:08AM UTC 215
90.22
GitHub Action Run
Source Files on build 15872154775
  • Tree
  • List 215
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #15872154775
  • 91094e10 on github
  • Prev Build on main (#15870668390)
  • Next Build on main (#15875178481)
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

© 2025 Coveralls, Inc