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

agentjido / req_llm / 8975f67f117f9461da65570207258acc4bd2e4e9-PR-192
50%
main: 49%

Build:
Build:
LAST BUILD BRANCH: feat/load-dotenv-config
DEFAULT BRANCH: main
Ran 06 Nov 2025 12:01AM UTC
Jobs 4
Files 89
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

06 Nov 2025 12:00AM UTC coverage: 52.787% (+0.03%) from 52.762%
8975f67f117f9461da65570207258acc4bd2e4e9-PR-192

Pull #192

github

neilberkman
Fix: Extract cached token counts from Google API responses

Fixes #191

Google's API returns cachedContentTokenCount in usageMetadata for both
implicit (automatic) and explicit (CachedContent API) prompt caching.
The provider was not extracting this field, causing cached_tokens to
always be 0 even when caching was active.

Changes:
- Extract cachedContentTokenCount from Google responses
- Convert to OpenAI-compatible prompt_tokens_details.cached_tokens format
- Affects both google and google-vertex providers using Gemini models
Pull Request #192: Fix: Extract cached token counts from Google API responses

4 of 6 new or added lines in 1 file covered. (66.67%)

2 existing lines in 1 file now uncovered.

3996 of 7570 relevant lines covered (52.79%)

354.12 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
61.51
0.11% lib/req_llm/providers/google.ex

Uncovered Existing Lines

Lines Coverage ∆ File
2
82.14
-7.14% lib/req_llm/keys.ex
Jobs
ID Job ID Ran Files Coverage
1 8975f67f117f9461da65570207258acc4bd2e4e9-PR-192.1 06 Nov 2025 12:01AM UTC 89
52.68
GitHub Action Run
2 8975f67f117f9461da65570207258acc4bd2e4e9-PR-192.2 06 Nov 2025 12:01AM UTC 89
52.68
GitHub Action Run
3 8975f67f117f9461da65570207258acc4bd2e4e9-PR-192.3 06 Nov 2025 12:01AM UTC 89
52.72
GitHub Action Run
4 8975f67f117f9461da65570207258acc4bd2e4e9-PR-192.4 06 Nov 2025 12:01AM UTC 89
52.73
GitHub Action Run
Source Files on build 8975f67f117f9461da65570207258acc4bd2e4e9-PR-192
  • Tree
  • List 89
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #192
  • PR Base - main (#6FE32B91...)
  • 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