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

agentjido / req_llm / 44742923e05a883faa62e59b2a0c06258aaf37d2
49%

Build:
DEFAULT BRANCH: main
Ran 29 Oct 2025 08:22PM 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:21PM UTC coverage: 52.504% (+0.08%) from 52.421%
44742923e05a883faa62e59b2a0c06258aaf37d2

push

github

web-flow
Refactor Meta/Llama into generic provider for code reuse (#148)

Extract Meta's native Llama prompt format into a reusable generic provider
that can be shared across cloud hosts and self-hosted deployments.

Changes:
- Created ReqLLM.Providers.Meta for Meta's native format
  - Handles prompt formatting with special tokens
  - Parses native response format (generation, prompt_token_count, etc.)
  - Extracts usage metadata with all required fields
- Refactored ReqLLM.Providers.AmazonBedrock.Meta to delegate to generic provider
  - Keeps only Bedrock-specific AWS Event Stream handling
  - Streaming usage now includes cached_tokens and reasoning_tokens
- Updated test error message for clarity

Documentation:
- Clarifies that most providers use OpenAI-compatible APIs (Azure, Vertex AI, vLLM, Ollama)
- AWS Bedrock is primary user of Meta's native format
- Generic provider handles native format with prompt/max_gen_len/generation fields
- Provides guidance for future provider implementations

This enables future Azure AI Foundry and Vertex AI support to correctly
delegate to OpenAI provider, while providing a native format option for
providers that need it.

30 of 35 new or added lines in 2 files covered. (85.71%)

3659 of 6969 relevant lines covered (52.5%)

457.17 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
81.25
-4.46% lib/req_llm/providers/amazon_bedrock/meta.ex
4
85.19
lib/req_llm/providers/meta.ex
Jobs
ID Job ID Ran Files Coverage
1 44742923e05a883faa62e59b2a0c06258aaf37d2.1 29 Oct 2025 08:22PM UTC 84
52.48
GitHub Action Run
2 44742923e05a883faa62e59b2a0c06258aaf37d2.2 29 Oct 2025 08:22PM UTC 84
52.42
GitHub Action Run
3 44742923e05a883faa62e59b2a0c06258aaf37d2.3 29 Oct 2025 08:24PM UTC 84
52.4
GitHub Action Run
4 44742923e05a883faa62e59b2a0c06258aaf37d2.4 29 Oct 2025 08:24PM UTC 84
52.37
GitHub Action Run
Source Files on build 44742923e05a883faa62e59b2a0c06258aaf37d2
  • Tree
  • List 84
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 44742923 on github
  • Prev Build on main (#E84B961F...)
  • Next Build on main (#EB486AD0...)
  • 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