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

agentjido / req_llm / 00d5a5bbe46874edfd3fbad473e030e22d975983
49%

Build:
DEFAULT BRANCH: main
Ran 23 Sep 2025 12:22AM UTC
Jobs 1
Files 55
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

23 Sep 2025 12:21AM UTC coverage: 57.838% (-0.03%) from 57.866%
00d5a5bbe46874edfd3fbad473e030e22d975983

push

github

web-flow
fix: resolve streaming race condition causing BadMapError (issue #42) (#46)

* fix: remove duplicate request execution in streaming response

The streaming implementation was incorrectly executing the same HTTP request twice:
- Once in Generation.stream_text at line 230
- Again in an async Task within decode_streaming_response at line 547

This caused a race condition and BadMapError when streaming was enabled.
The fix removes the duplicate request execution since the stream is already
configured and executing from the initial Req.request call.

* fix: apply streaming race condition fix to all providers

Extended the fix for issue #42 to XAI and Anthropic providers which had
the same duplicate request execution bug in their streaming implementation.

- Fixed XAI provider's decode_streaming_response to remove duplicate request
- Fixed Anthropic provider's decode_streaming_response similarly
- Updated test expectations to reflect removal of http_task
- All providers now correctly use the single request initiated by Generation

1664 of 2877 relevant lines covered (57.84%)

158.66 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
72.73
1.93% lib/req_llm/providers/anthropic.ex
Jobs
ID Job ID Ran Files Coverage
1 00d5a5bbe46874edfd3fbad473e030e22d975983.1 23 Sep 2025 12:22AM UTC 55
57.84
GitHub Action Run
Source Files on build 00d5a5bbe46874edfd3fbad473e030e22d975983
  • Tree
  • List 55
  • Changed 10
  • Source Changed 0
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 00d5a5bb on github
  • Prev Build on main (#39CD0A34...)
  • Next Build on main (#4E239242...)
  • Delete
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