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

agentjido / req_llm / 687c427ea382ec0c2ae40030ca116cf9eb3311b8
49%

Build:
DEFAULT BRANCH: main
Ran 31 Oct 2025 01:53PM 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

31 Oct 2025 01:52PM UTC coverage: 54.019% (+1.1%) from 52.9%
687c427ea382ec0c2ae40030ca116cf9eb3311b8

push

github

web-flow
Allow provider `base_url`s to be overriden through config (#159)

* Allow overriding provider `base_url` from config

* Add change to changelog

* Align name with the other similar function

* Refactor base URL handling across providers to use effective_base_url function

- Introduced effective_base_url function to centralize base URL resolution logic based on precedence rules.
- Updated providers (OpenAI, Anthropic, Google, Groq, XAI) to utilize the new function for consistent base URL handling.
- Added comprehensive tests to validate base URL precedence behavior across different scenarios, ensuring correct functionality and fallback mechanisms.

* Update provider metadata error handling to specify :provider_not_found

* Update test cases to run synchronously and ensure environment restoration

- Changed test cases in `base_url_streaming_test.exs` and `options_test.exs` to run synchronously by setting `async: false`.
- Added environment restoration logic in `options_test.exs` to maintain original configuration after tests, ensuring no side effects on subsequent tests.

* Update base_url_streaming_test to include api_key in options

- Modified test cases in `base_url_streaming_test.exs` to include `api_key` in the options passed to the `attach_stream` function for various providers.
- Ensured sensitive information is redacted in the test cases to maintain security and privacy.
- This change enhances the tests by validating the behavior of the API key alongside the base URL configuration.

* Formatting

---------

Co-authored-by: Mike Hostetler <84222+mikehostetler@users.noreply.github.com>

20 of 26 new or added lines in 8 files covered. (76.92%)

4 existing lines in 4 files now uncovered.

3824 of 7079 relevant lines covered (54.02%)

455.23 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
42.62
-0.35% lib/req_llm/providers/groq.ex
2
53.69
-0.14% lib/req_llm/providers/openai/responses_api.ex
2
69.82
-0.42% lib/req_llm/providers/xai.ex

Uncovered Existing Lines

Lines Coverage ∆ File
1
42.62
-0.35% lib/req_llm/providers/groq.ex
1
66.36
0.32% lib/req_llm/providers/openai/chat_api.ex
1
53.69
-0.14% lib/req_llm/providers/openai/responses_api.ex
1
94.12
0.0% test/support/streaming_case.ex
Jobs
ID Job ID Ran Files Coverage
1 687c427ea382ec0c2ae40030ca116cf9eb3311b8.1 31 Oct 2025 01:53PM UTC 84
53.98
GitHub Action Run
2 687c427ea382ec0c2ae40030ca116cf9eb3311b8.2 31 Oct 2025 01:53PM UTC 84
53.86
GitHub Action Run
3 687c427ea382ec0c2ae40030ca116cf9eb3311b8.3 31 Oct 2025 01:55PM UTC 84
53.91
GitHub Action Run
4 687c427ea382ec0c2ae40030ca116cf9eb3311b8.4 31 Oct 2025 01:55PM UTC 84
53.92
GitHub Action Run
Source Files on build 687c427ea382ec0c2ae40030ca116cf9eb3311b8
  • Tree
  • List 84
  • Changed 10
  • Source Changed 0
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 687c427e on github
  • Prev Build on main (#0FCB61E4...)
  • Next Build on main (#FADBCBD0...)
  • 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