Add dependency injection to ChatCompletionStream for improved testability #1016
Codecov / codecov/project
succeeded
May 30, 2025 in 0s
85.83% (+0.06%) compared to ff9d83a
View this Pull Request on Codecov
85.83% (+0.06%) compared to ff9d83a
Details
Codecov Report
Attention: Patch coverage is 92.00000% with 2 lines in your changes missing coverage. Please review.
Project coverage is 85.83%. Comparing base (
ff9d83a) to head (857bb0d).
| Files with missing lines | Patch % | Lines |
|---|---|---|
| chat_stream.go | 92.00% | 2 Missing |
Additional details and impacted files
@@ Coverage Diff @@
## master #1011 +/- ##
==========================================
+ Coverage 85.77% 85.83% +0.06%
==========================================
Files 43 43
Lines 2291 2315 +24
==========================================
+ Hits 1965 1987 +22
- Misses 304 306 +2
Partials 22 22 ☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.
🚀 New features to boost your workflow:
- ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
Loading