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

agentjido / req_llm / aff7a726aa33c1bf8da2655255148c48247fdaae-PR-221
50%
main: 49%

Build:
Build:
LAST BUILD BRANCH: feat/load-dotenv-config
DEFAULT BRANCH: main
Ran 18 Nov 2025 01:40AM 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

18 Nov 2025 01:39AM UTC coverage: 50.14% (+0.01%) from 50.126%
aff7a726aa33c1bf8da2655255148c48247fdaae-PR-221

Pull #221

github

neilberkman
Fix tool_budget_for pattern match regression from LLMDB integration

The test helper tool_budget_for/1 was using an obsolete pattern match
that expected {:ok, {provider, id, model}} but ReqLLM.model/1 now returns
{:ok, model} after the LLMDB integration in v1.1.0.

This caused the pattern match to fail and always return the default 150
tokens instead of calculating the correct budget based on model.limits.

Additionally fixed the field name from model.limit (singular) to
model.limits (plural) to match the LLMDB.Model struct.

The regression primarily affected reasoning-enabled models like Gemini
2.5 Pro, where 150 tokens was insufficient for the model's extended
reasoning process, causing tool call tests to fail with MAX_TOKENS
errors.
Pull Request #221: Fix tool_budget_for pattern match regression from LLMDB integration

2 of 2 new or added lines in 1 file covered. (100.0%)

3 existing lines in 1 file now uncovered.

3588 of 7156 relevant lines covered (50.14%)

58.78 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
3
30.56
-8.33% test/support/fixtures.ex
Jobs
ID Job ID Ran Files Coverage
1 aff7a726aa33c1bf8da2655255148c48247fdaae-PR-221.1 18 Nov 2025 01:40AM UTC 82
50.11
GitHub Action Run
2 aff7a726aa33c1bf8da2655255148c48247fdaae-PR-221.2 18 Nov 2025 01:40AM UTC 82
50.11
GitHub Action Run
3 aff7a726aa33c1bf8da2655255148c48247fdaae-PR-221.3 18 Nov 2025 01:40AM UTC 82
50.11
GitHub Action Run
4 aff7a726aa33c1bf8da2655255148c48247fdaae-PR-221.4 18 Nov 2025 01:40AM UTC 82
50.11
GitHub Action Run
Source Files on build aff7a726aa33c1bf8da2655255148c48247fdaae-PR-221
  • Tree
  • List 82
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #221
  • PR Base - main (#367581C9...)
  • 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