• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In
Warning: This build has drifted.
The coverage report for this pull request build may be inaccurate because its base commit is no longer the HEAD of its target branch.
This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

    • Learn more: For more information on this, see Tracking coverage changes for pull request builds.
    • Fix now: For a quick fix, rebase this PR at GitHub. Your next report should be accurate.
    • Prevent going forward: To avoid this issue with future PRs, see these Recommended CI Configurations.
New Repo Setting:
INCLUDE COVERAGE % WITH WARNINGS ABOUT DRIFTED BUILDS?

Enabling this setting will include a (potentially inaccurate) coverage % with warning messages in status updates for drifted builds.

Adjust setting

agentjido / req_llm / 56683a4cb50c99c9f38265cfa4419f20280ad9f8-PR-11
23%
main: 49%

Build:
Build:
LAST BUILD BRANCH: feat/load-dotenv-config
DEFAULT BRANCH: main
Ran 15 Sep 2025 02:25PM UTC
Jobs 1
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:24PM UTC coverage: 22.826% (+0.9%) from 21.958%
56683a4cb50c99c9f38265cfa4419f20280ad9f8-PR-11

Pull #11

github

mikehostetler
Enhance OpenAI provider parameter handling

- Introduced a new validation function `validate_mutex!/3` in the `ReqLLM.Provider.DSL` module to ensure that conflicting parameters are not used together, improving error handling for provider options.
- Updated the OpenAI provider to dynamically determine the appropriate token parameter (`max_tokens` or `max_completion_tokens`) based on the model name, enhancing compatibility with different OpenAI models.

This change improves the robustness of parameter handling and aligns with the recent enhancements for model-specific option translation.
Pull Request #11: Fix OpenAI o1 model parameter translation (resolves #8)

2 of 34 new or added lines in 2 files covered. (5.88%)

269 existing lines in 9 files now uncovered.

525 of 2300 relevant lines covered (22.83%)

122.19 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
14
4.23
4.23% lib/req_llm/providers/openai.ex
18
8.33
8.33% lib/req_llm/generation.ex

Uncovered Existing Lines

Lines Coverage ∆ File
17
6.45
0.0% lib/req_llm.ex
19
8.33
8.33% lib/req_llm/generation.ex
22
4.23
4.23% lib/req_llm/providers/openai.ex
25
0.0
0.0% lib/mix/tasks/stream_text.ex
30
0.0
0.0% lib/req_llm/providers/google.ex
36
0.0
0.0% lib/req_llm/providers/groq.ex
36
0.0
0.0% lib/req_llm/providers/x_ai.ex
42
0.0
0.0% lib/req_llm/providers/anthropic.ex
42
0.0
0.0% lib/req_llm/providers/openrouter.ex
Jobs
ID Job ID Ran Files Coverage
1 56683a4cb50c99c9f38265cfa4419f20280ad9f8-PR-11.1 15 Sep 2025 02:25PM UTC 52
22.83
GitHub Action Run
Source Files on build 56683a4cb50c99c9f38265cfa4419f20280ad9f8-PR-11
  • Tree
  • List 52
  • Changed 11
  • Source Changed 0
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #11
  • PR Base - main (#FAD21D4A...)
  • 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