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

dcdpr / jp / 15921540555
58%

Build:
DEFAULT BRANCH: main
Ran 27 Jun 2025 08:14AM UTC
Jobs 1
Files 118
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

27 Jun 2025 08:13AM UTC coverage: 37.699% (+0.2%) from 37.483%
15921540555

push

github

web-flow
fix(llm, llamacpp): Loosen model ID validation (#163)

The validation logic for model IDs was too strict to support model names
often used in the Llama.cpp ecosystem. For example, a model ID like
`llamacpp/bartowski_Qwen2.5-7B-Instruct-GGUF_Qwen2.5-7B-Instruct-Q4_K_M.gguf`
was previously rejected, but can now be used with JP.

Additionally, the model listing implementation was inadvertently left
out of the implementation of the Llamacpp provider. This commit fixes
that oversight.

It should be noted that it is not possible (unless the llama.cpp server
is run with the `--alias` flag[1]) to get the proper model name from the
API (instead, it points to the model file on disk), so in reality this
implementation isn't particularly useful, but at least it doesn't panic
anymore.

[1]:
https://github.com/ggml-org/llama.cpp/blob/8846aace4/tools/server/README.md#get-v1models-openai-compatible-model-info-api

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

50 of 58 new or added lines in 2 files covered. (86.21%)

2 existing lines in 1 file now uncovered.

3676 of 9751 relevant lines covered (37.7%)

4.78 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
42.57
2.15% crates/jp_model/src/lib.rs
6
47.45
5.46% crates/jp_llm/src/provider/llamacpp.rs

Uncovered Existing Lines

Lines Coverage ∆ File
2
42.57
2.15% crates/jp_model/src/lib.rs
Jobs
ID Job ID Ran Files Coverage
1 15921540555.1 27 Jun 2025 08:14AM UTC 118
37.7
GitHub Action Run
Source Files on build 15921540555
  • Tree
  • List 118
  • Changed 3
  • Source Changed 3
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #15921540555
  • 02966921 on github
  • Prev Build on main (#15911573302)
  • Next Build on main (#15922062303)
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