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

agentjido / req_llm / 6edf88e447e2f58af02cb8ccac89c6bab7d957b9
49%

Build:
DEFAULT BRANCH: main
Ran 15 Sep 2025 02:23PM UTC
Jobs 2
Files 52
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 Sep 2025 02:22PM UTC coverage: 22.875% (+0.9%) from 21.938%
6edf88e447e2f58af02cb8ccac89c6bab7d957b9

push

github

web-flow
Refine API key management with centralized ReqLLM.Key module (#3)

* Refactor mix.exs for Dialyzer configuration and dependency management

- Removed the plt_file option from Dialyzer configuration for cleaner setup.
- Updated the Credo dependency to specify its usage only in development and test environments, ensuring better clarity in dependency management.

* Add ReqLLM.Key module for API key management and refactor provider implementations

- Introduced `ReqLLM.Key` module to centralize API key fetching logic with a clear precedence order.
- Refactored API key retrieval in the `Anthropic`, `Google`, `Groq`, `OpenAI`, `OpenRouter`, and `XAI` provider modules to utilize the new `fetch!/2` function from `ReqLLM.Key`.
- Added comprehensive tests for the `ReqLLM.Key` module to ensure correct key retrieval from various sources and proper error handling when keys are not found.

* Refactor API key management and enhance provider implementations

- Replaced the `ReqLLM.Key` module with `ReqLLM.Keys` for improved API key retrieval logic, consolidating key fetching with a clear precedence order.
- Updated provider modules (`Anthropic`, `Google`, `Groq`, `OpenAI`, `OpenRouter`, `XAI`) to utilize the new `ReqLLM.Keys.get!/2` function for API key management.
- Enhanced documentation in `README.md` and `guides/getting-started.md` to clarify API key configuration options and their precedence.
- Removed the deprecated `ReqLLM.Key` module and added comprehensive tests for the new `ReqLLM.Keys` module to ensure correct functionality and error handling.

24 of 36 new or added lines in 7 files covered. (66.67%)

522 of 2282 relevant lines covered (22.87%)

246.25 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
0.0
0.0% lib/req_llm/providers/anthropic.ex
1
0.0
0.0% lib/req_llm/providers/google.ex
1
0.0
0.0% lib/req_llm/providers/groq.ex
1
0.0
0.0% lib/req_llm/providers/openai.ex
1
0.0
0.0% lib/req_llm/providers/openrouter.ex
1
0.0
0.0% lib/req_llm/providers/x_ai.ex
6
80.0
lib/req_llm/keys.ex
Jobs
ID Job ID Ran Files Coverage
1 6edf88e447e2f58af02cb8ccac89c6bab7d957b9.1 15 Sep 2025 02:23PM UTC 52
22.64
GitHub Action Run
2 6edf88e447e2f58af02cb8ccac89c6bab7d957b9.2 15 Sep 2025 02:23PM UTC 52
22.87
GitHub Action Run
Source Files on build 6edf88e447e2f58af02cb8ccac89c6bab7d957b9
  • Tree
  • List 52
  • Changed 13
  • Source Changed 0
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 6edf88e4 on github
  • Prev Build on main (#D29C8122...)
  • Next Build on main (#E8F08DE9...)
  • 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