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

agentjido / req_llm / 6f02aed31c8e6e215d88abd0276b16c7d4303ff3-PR-143

27 Oct 2025 11:32PM UTC coverage: 52.406% (-0.1%) from 52.503%
6f02aed31c8e6e215d88abd0276b16c7d4303ff3-PR-143

Pull #143

github

neilberkman
Fix three bugs for 1.0 release

1. Fix model_compat to recognize inference profile IDs
   - Uses provider's normalize_model_id callback during registry lookup
   - Enables testing models with region prefixes (e.g., global.anthropic.claude-sonnet-4-5)

2. Fix missing :compiled_schema in object streaming
   - Add compiled_schema to stream_opts in Generation.stream_object/4
   - Fixes KeyError when streaming object generation for Bedrock

3. Fix temperature/top_p conflict in Bedrock Anthropic models
   - Implement translate_options in Bedrock provider
   - Delegates to Anthropic.translate_options for Anthropic models
   - Gets all Anthropic option handling (sampling params, reasoning, etc.) for free
   - DRY solution that automatically receives future Anthropic improvements

4. Rename test/coverage/bedrock to test/coverage/amazon_bedrock
   - Matches provider atom :amazon_bedrock for consistency
Pull Request #143: Fix bugs found during Bedrock fixture generation

0 of 10 new or added lines in 2 files covered. (0.0%)

3 existing lines in 2 files now uncovered.

3648 of 6961 relevant lines covered (52.41%)

432.94 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

83.33
/lib/req_llm/provider.ex


Source Not Available

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