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

agentjido / req_llm / 01962a6c2718d975781974570b45bc695b762489-PR-147
53%
main: 49%

Build:
Build:
LAST BUILD BRANCH: feat/load-dotenv-config
DEFAULT BRANCH: main
Ran 28 Oct 2025 09:17PM UTC
Jobs 2
Files 84
Run time 4min
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

28 Oct 2025 09:02PM UTC coverage: 52.635% (+0.1%) from 52.492%
01962a6c2718d975781974570b45bc695b762489-PR-147

Pull #147

github

neilberkman
Add Mistral AI model support and improve Bedrock formatter architecture

Introduces full support for 5 Mistral AI models on AWS Bedrock (7B, 8x7B,
Small, Large, and Pixtral Large) with comprehensive test coverage.

Generic improvements:
- Adds callback system for model-specific capabilities in Bedrock formatters:
  * requires_converse_api?/0 - formatters declare Converse API requirement
  * supports_converse_tool_choice?/0 - formatters declare toolChoice support
  * preserve_inference_profile?/1 - formatters control ID normalization
- Fixes formatter selection logic when using Converse API to properly delegate
  to family-specific formatters only when they wrap Converse (e.g., Mistral)
- Resolves incorrect formatter selection for Anthropic models with use_converse: true

Mistral-specific:
- Implements ReqLLM.Providers.AmazonBedrock.Mistral formatter wrapping Converse API
- Handles system message incompatibility by prepending to first user message
- Preserves inference profile prefix for Pixtral (region-specific invocation required)
- Sets tool_call: false for models lacking toolChoice support in Converse API
- Adds comprehensive streaming fixtures for all 5 models

All models pass comprehensive test suite at 100% coverage.
Pull Request #147: Fix Bedrock streaming, tool round-trip, and usage metadata for 1.0

52 of 66 new or added lines in 5 files covered. (78.79%)

253 existing lines in 6 files now uncovered.

3725 of 7077 relevant lines covered (52.64%)

220.07 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
84.21
-1.5% lib/req_llm/providers/amazon_bedrock/meta.ex
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
7
69.47
6.69% lib/req_llm/providers/amazon_bedrock.ex

Uncovered Existing Lines

Lines Coverage ∆ File
1
50.0
0.0% lib/req_llm/provider/generated/valid_providers.ex
2
39.02
-2.44% lib/req_llm/providers/openai.ex
7
85.45
0.0% test/support/model_matrix.ex
33
47.14
-8.41% lib/req_llm/providers/amazon_bedrock/aws_event_stream.ex
53
69.47
6.69% lib/req_llm/providers/amazon_bedrock.ex
157
0.0
0.0% lib/mix/tasks/model_compat.ex
Jobs
ID Job ID Ran Files Coverage
1 01962a6c2718d975781974570b45bc695b762489-PR-147.1 28 Oct 2025 09:18PM UTC 84
52.54
GitHub Action Run
2 01962a6c2718d975781974570b45bc695b762489-PR-147.2 28 Oct 2025 09:18PM UTC 84
52.59
GitHub Action Run
Source Files on build 01962a6c2718d975781974570b45bc695b762489-PR-147
  • Tree
  • List 84
  • Changed 11
  • Source Changed 0
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #147
  • PR Base - main (#689E02AC...)
  • 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