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

agentjido / req_llm / 0c64c2bb1444f139899f9883c5dd497a85712dc4-PR-104
50%
main: 51%

Build:
Build:
LAST BUILD BRANCH: feature/model-catalog
DEFAULT BRANCH: main
Ran 16 Oct 2025 07:46AM UTC
Jobs 2
Files 79
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

16 Oct 2025 07:45AM UTC coverage: 50.084% (+0.05%) from 50.031%
0c64c2bb1444f139899f9883c5dd497a85712dc4-PR-104

Pull #104

github

neilberkman
Add normalize_model_id callback for Bedrock inference profiles

This adds an optional normalize_model_id/1 callback to the Provider
behavior, allowing providers to normalize model identifiers before
looking up metadata.

The AmazonBedrock provider implements this to strip region prefixes
(us., eu., ap., ca., global.) from inference profile IDs, enabling
metadata/pricing lookup for models like:
- us.anthropic.claude-sonnet-4-5-20250929-v1:0 (inference profile)
- anthropic.claude-sonnet-4-5-20250929-v1:0 (standard model ID in registry)

The Model struct retains the original ID for API calls while using
the normalized ID only for metadata lookup.
Pull Request #104: Add normalize_model_id callback for inference profile pricing

9 of 10 new or added lines in 2 files covered. (90.0%)

3278 of 6545 relevant lines covered (50.08%)

204.22 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
57.22
0.16% lib/req_llm/providers/amazon_bedrock.ex
Jobs
ID Job ID Ran Files Coverage
1 0c64c2bb1444f139899f9883c5dd497a85712dc4-PR-104.1 16 Oct 2025 07:46AM UTC 79
49.95
GitHub Action Run
2 0c64c2bb1444f139899f9883c5dd497a85712dc4-PR-104.2 16 Oct 2025 07:46AM UTC 79
50.0
GitHub Action Run
Source Files on build 0c64c2bb1444f139899f9883c5dd497a85712dc4-PR-104
  • Tree
  • List 79
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #104
  • PR Base - main (#83899338...)
  • 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

© 2025 Coveralls, Inc