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

agentjido / req_llm / 6795646508c4eeddacd6cccaa78d3bc995f20e64
49%

Build:
DEFAULT BRANCH: main
Ran 15 Nov 2025 11:21PM UTC
Jobs 4
Files 82
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

15 Nov 2025 11:20PM UTC coverage: 50.304% (-2.5%) from 52.801%
6795646508c4eeddacd6cccaa78d3bc995f20e64

push

github

web-flow
feat: Integrate llm_db for model metadata (v1.1.0) (#212)

* Research

* chore(req_llm): add llm_db dependency

- Add llm_db path dependency with runtime: false
- Upgrade zoi from 0.7 to 0.8 for llm_db compatibility
- Add llm_db config to config.exs and test.exs
- No code changes, dependency-only addition per Subagent 2

Amp-Thread-ID: https://ampcode.com/threads/T-e085bde0-b832-4a7b-9486-68e2ee54d8f1
Co-authored-by: Amp <amp@ampcode.com>

* feat(req_llm): accept LLMDB.Model; remove runtime fields from Model struct

- Remove max_tokens and max_retries fields from ReqLLM.Model struct
- Add from/1 clause to accept LLMDB.Model and convert to ReqLLM.Model
- Update capabilities conversion to map LLMDB nested structure to flat ReqLLM structure
- Update valid?/1 to only require provider and model fields
- Update all tests to remove max_tokens/max_retries references
- Add dialyzer ignore for LLMDB.Model compile-time dependency
- Runtime parameters (max_tokens, max_retries) now belong in request options

Amp-Thread-ID: https://ampcode.com/threads/T-597e5d1b-43d2-4859-a2d3-5556b513b8fd
Co-authored-by: Amp <amp@ampcode.com>

* refactor(req_llm): move max_retries to request options

Amp-Thread-ID: https://ampcode.com/threads/T-54ba7d9c-71e8-4aef-b8a3-b2615098f88a
Co-authored-by: Amp <amp@ampcode.com>

* refactor(req_llm): delegate model metadata to LLMDB; keep provider registry

Amp-Thread-ID: https://ampcode.com/threads/T-07677787-8afe-4e53-ba20-62dcc946b866
Co-authored-by: Amp <amp@ampcode.com>

* chore(req_llm): remove Catalog and model_sync; use llm_db

Amp-Thread-ID: https://ampcode.com/threads/T-a1becae5-bc8a-460b-b233-99dd8db6e6e1
Co-authored-by: Amp <amp@ampcode.com>

* test(req_llm): load model metadata from llm_db snapshot

- Ensure LLMDB application starts before req_llm in test_helper.exs
- LLMDB automatically loads its snapshot on application start
- This provides model metadata for tests without separate fixture
- All 1440 tests pass successfully

*... (continued)

179 of 463 new or added lines in 44 files covered. (38.66%)

22 existing lines in 15 files now uncovered.

3561 of 7079 relevant lines covered (50.3%)

59.08 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
68.21
0.0% lib/req_llm/context.ex
1
78.13
-5.75% lib/req_llm/error.ex
1
0.0
0.0% lib/req_llm/providers/cerebras.ex
1
42.62
0.0% lib/req_llm/providers/groq.ex
1
66.36
0.0% lib/req_llm/providers/openai/chat_api.ex
1
69.82
0.0% lib/req_llm/providers/xai.ex
1
0.0
0.0% lib/req_llm/providers/zai.ex
1
0.0
0.0% lib/req_llm/providers/zai_coder.ex
1
50.65
0.0% lib/req_llm/streaming/finch_client.ex
1
0.0
0.0% test/support/fixture_path.ex
2
35.14
0.0% lib/req_llm/generation.ex
2
69.58
-1.0% lib/req_llm/providers/amazon_bedrock.ex
2
0.0
0.0% lib/req_llm/providers/google_vertex/anthropic.ex
2
68.32
0.0% lib/req_llm/stream_response.ex
2
13.33
-0.3% test/support/provider_case.ex
3
15.79
3.67% lib/req_llm.ex
3
75.0
-25.0% lib/req_llm/provider.ex
3
70.48
0.22% lib/req_llm/provider/defaults.ex
3
68.46
0.55% lib/req_llm/providers/anthropic.ex
3
53.94
0.25% lib/req_llm/providers/openai/responses_api.ex
3
49.3
0.68% lib/req_llm/response.ex
3
76.92
-4.03% test/support/model_matrix.ex
4
69.23
-30.77% test/support/provider_test/comprehensive.ex
6
62.65
1.25% lib/req_llm/providers/google.ex
6
30.56
-10.62% test/support/fixtures.ex
7
0.0
0.0% lib/mix/tasks/gen.ex
7
0.0
0.0% test/support/helpers.ex
8
39.24
-2.22% lib/req_llm/providers/openai.ex
11
0.0
0.0% lib/req_llm/providers/google_vertex.ex
23
46.51
lib/req_llm/providers.ex
171
0.0
0.0% lib/mix/tasks/model_compat.ex

Uncovered Existing Lines

Lines Coverage ∆ File
1
0.0
0.0% lib/mix/tasks/gen.ex
1
78.13
-5.75% lib/req_llm/error.ex
1
85.71
3.57% lib/req_llm/keys.ex
1
33.33
-4.76% lib/req_llm/param_transform.ex
1
70.48
0.22% lib/req_llm/provider/defaults.ex
1
75.0
-25.0% lib/req_llm/provider.ex
1
0.0
-50.0% lib/req_llm/provider/generated/valid_providers.ex
1
39.24
-2.22% lib/req_llm/providers/openai.ex
1
68.97
-3.45% lib/req_llm/providers/openai/param_profiles.ex
1
49.3
0.68% lib/req_llm/response.ex
1
0.0
0.0% test/support/fixture_path.ex
1
94.12
-5.88% test/support/streaming_case.ex
2
69.58
-1.0% lib/req_llm/providers/amazon_bedrock.ex
3
30.56
-10.62% test/support/fixtures.ex
5
0.0
0.0% lib/mix/tasks/model_compat.ex
Jobs
ID Job ID Ran Files Coverage
1 6795646508c4eeddacd6cccaa78d3bc995f20e64.1 15 Nov 2025 11:21PM UTC 82
50.29
GitHub Action Run
2 6795646508c4eeddacd6cccaa78d3bc995f20e64.2 15 Nov 2025 11:23PM UTC 82
50.28
GitHub Action Run
3 6795646508c4eeddacd6cccaa78d3bc995f20e64.3 15 Nov 2025 11:24PM UTC 82
50.29
GitHub Action Run
4 6795646508c4eeddacd6cccaa78d3bc995f20e64.4 15 Nov 2025 11:24PM UTC 82
50.3
GitHub Action Run
Source Files on build 6795646508c4eeddacd6cccaa78d3bc995f20e64
  • Tree
  • List 82
  • Changed 39
  • Source Changed 0
  • Coverage Changed 39
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 67956465 on github
  • Prev Build on main (#D201F2EF...)
  • Next Build on main (#4908869A...)
  • 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