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

agentjido / req_llm / 20394c1ace4b7b4de287faf16e42996b014812c8
49%

Build:
DEFAULT BRANCH: main
Ran 29 Oct 2025 08:32PM UTC
Jobs 4
Files 84
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

29 Oct 2025 08:31PM UTC coverage: 52.861% (+0.3%) from 52.539%
20394c1ace4b7b4de287faf16e42996b014812c8

push

github

web-flow
Fix Bedrock streaming, tool round-trip, and usage metadata for 1.0 (#147)

* Fix Bedrock streaming temperature/top_p conflicts and increase timeout

- Apply translate_options in attach_stream to handle parameter conflicts
- Streaming requests were bypassing Options.process pipeline
- Increase receive_timeout from 30s to 60s (measured at 48s for fixtures)
- Fixes HTTP 400 errors when streaming with both temperature and top_p

* Fix Jason.EncodeError when saving streaming fixtures with binary protocols

The "decoded" field in streaming fixtures was added for human readability
(raw text alongside base64). However, some providers use binary protocols
(Bedrock's AWS Event Stream) that contain non-UTF-8 bytes which fail
JSON encoding.

Since fixture replay only uses the "b64" field, removed the redundant
"decoded" field. This is purely a fixture storage change - library
functionality unchanged.

Changes:
- Future streaming fixtures won't include "decoded" field
- Existing fixtures with "decoded" still work (backwards compatible)
- Fixes Jason.EncodeError when recording Bedrock streaming fixtures

Note: Bedrock uses AWS Event Stream binary protocol with headers/checksums,
unlike Anthropic's text-based SSE which encodes as valid UTF-8.

* Fix Bedrock extended thinking support

Bedrock provider was not calling Options.process like other providers
(Anthropic, Google, OpenAI), which meant pre_validate_options was never
invoked. This prevented reasoning_effort from being translated to the
thinking parameter needed by Bedrock's API.

Changes:
- Call Options.process in attach() to match other provider patterns
- Nest additional_model_request_fields under :provider_options (schema requirement)
- Use :thinking parameter (not :reasoning_config) per Bedrock API spec
- Use model.capabilities.reasoning instead of hardcoded model IDs
- Document that Bedrock returns reasoning_tokens as 0 (tokens included in output_tokens)

Extended thinking now works for all Claude models ... (continued)

59 of 70 new or added lines in 4 files covered. (84.29%)

6 existing lines in 3 files now uncovered.

3705 of 7009 relevant lines covered (52.86%)

456.17 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
80.82
0.82% lib/req_llm/providers/amazon_bedrock/converse.ex
3
83.33
-2.15% lib/req_llm/providers/amazon_bedrock/openai.ex
5
69.59
6.81% lib/req_llm/providers/amazon_bedrock.ex

Uncovered Existing Lines

Lines Coverage ∆ File
1
69.59
6.81% lib/req_llm/providers/amazon_bedrock.ex
2
39.02
-2.44% lib/req_llm/providers/openai.ex
3
32.35
-8.82% test/support/fixtures.ex
Jobs
ID Job ID Ran Files Coverage
1 20394c1ace4b7b4de287faf16e42996b014812c8.1 29 Oct 2025 08:32PM UTC 84
52.78
GitHub Action Run
2 20394c1ace4b7b4de287faf16e42996b014812c8.2 29 Oct 2025 08:32PM UTC 84
52.79
GitHub Action Run
3 20394c1ace4b7b4de287faf16e42996b014812c8.3 29 Oct 2025 08:34PM UTC 84
52.85
GitHub Action Run
4 20394c1ace4b7b4de287faf16e42996b014812c8.4 29 Oct 2025 08:34PM UTC 84
52.73
GitHub Action Run
Source Files on build 20394c1ace4b7b4de287faf16e42996b014812c8
  • Tree
  • List 84
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 20394c1a on github
  • Prev Build on main (#EB486AD0...)
  • Next Build on main (#4B7721DD...)
  • 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