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

dcdpr / jp / 16500297468
58%

Build:
DEFAULT BRANCH: main
Ran 24 Jul 2025 02:57PM UTC
Jobs 1
Files 144
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

24 Jul 2025 02:53PM UTC coverage: 40.727% (-0.09%) from 40.821%
16500297468

push

github

web-flow
feat(llm, anthropic): Add Anthropic model alias support (#228)

Anthropic provides model aliases, such as `claude-3-5-sonnet-latest`,
which point to specific, dated model versions. This commit introduces a
mapping from these aliases to their corresponding versioned slugs, like
`claude-3-5-sonnet-20241022`.

This change allows users to select models using the simpler aliases
while ensuring that we can still fetch the correct model details, such
as the maximum output tokens, from the full model list provided by the
API.

Additionally, a warning is now logged if the `max_tokens` for a request
falls back to the system default, improving visibility when a model's
specific token limit is not available.

---------

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

68 of 96 new or added lines in 2 files covered. (70.83%)

23 existing lines in 3 files now uncovered.

5187 of 12736 relevant lines covered (40.73%)

5.6 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
8.33
0.0% crates/jp_config/src/model/parameters.rs
26
51.83
-0.91% crates/jp_llm/src/provider/anthropic.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
8.33
0.0% crates/jp_config/src/model/parameters.rs
10
32.67
-9.9% crates/jp_model/src/lib.rs
12
51.83
-0.91% crates/jp_llm/src/provider/anthropic.rs
Jobs
ID Job ID Ran Files Coverage
1 16500297468.1 24 Jul 2025 02:57PM UTC 144
40.73
GitHub Action Run
Source Files on build 16500297468
  • Tree
  • List 144
  • Changed 3
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #16500297468
  • be50a6ef on github
  • Prev Build on main (#16497308992)
  • Next Build on main (#16500551463)
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