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

agentjido / req_llm / 6795646508c4eeddacd6cccaa78d3bc995f20e64

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

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

0.0
/test/support/fixture_path.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

© 2026 Coveralls, Inc