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

dcdpr / jp / 16414088066
58%

Build:
DEFAULT BRANCH: main
Ran 21 Jul 2025 10:09AM UTC
Jobs 1
Files 141
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

21 Jul 2025 10:06AM UTC coverage: 35.091% (-0.1%) from 35.197%
16414088066

push

github

web-flow
feat(llm, cli): Improve error message for unknown models (#211)

When a user specified a model that did not exist for a provider, the
application would return a generic and unhelpful API error. This made it
difficult for the user to understand what went wrong and how to fix it.

This change introduces specific error handling for this scenario. The
Gemini provider logic now inspects 404 errors to detect when an unknown
model is the cause.

The CLI now catches this new `UnknownModel` error and enhances it by
fetching the list of available models from the provider, presenting a
much more user-friendly and actionable error message to the user.

---------

Signed-off-by: Jean Mertz <git@jeanmertz.com>

0 of 36 new or added lines in 3 files covered. (0.0%)

1 existing line in 1 file now uncovered.

4079 of 11624 relevant lines covered (35.09%)

4.26 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
7
0.0
0.0% crates/jp_cli/src/cmd.rs
10
0.0
0.0% crates/jp_cli/src/cmd/query.rs
19
0.0
0.0% crates/jp_llm/src/error.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
0.0
0.0% crates/jp_cli/src/cmd/query.rs
Jobs
ID Job ID Ran Files Coverage
1 16414088066.1 21 Jul 2025 10:09AM UTC 141
35.09
GitHub Action Run
Source Files on build 16414088066
  • Tree
  • List 141
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #16414088066
  • f1c802c6 on github
  • Prev Build on main (#16413571496)
  • Next Build on main (#16414646994)
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