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

dcdpr / jp / 18194738131
58%

Build:
DEFAULT BRANCH: main
Ran 02 Oct 2025 01:41PM UTC
Jobs 1
Files 139
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

02 Oct 2025 01:38PM UTC coverage: 44.217% (-0.02%) from 44.232%
18194738131

push

github

web-flow
feat(config): Add model alias support to simplify model configuration (#264)

Users can now specify model aliases instead of full model IDs when
configuring models. The system supports both direct model IDs like
`anthropic/claude-3-5-sonnet` and simple aliases like `claude` or
`sonnet` that are resolved through the `providers.llm.aliases`
configuration.

This change introduces `ModelIdOrAliasConfig` enum that can hold either
a concrete `ModelIdConfig` or a string alias. The `finalize()` method
resolves aliases to concrete model IDs by looking them up in the
`aliases` configuration, falling back to parsing as a direct model ID if
no alias is found.

The CLI already supported referencing models by their alias, but now you
can do the same in configuration files.

---------

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

58 of 118 new or added lines in 10 files covered. (49.15%)

1 existing line in 1 file now uncovered.

6182 of 13981 relevant lines covered (44.22%)

5.59 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
0.0
0.0% crates/jp_cli/src/cmd.rs
2
62.01
-0.27% crates/jp_cli/src/cmd/init.rs
3
0.0
0.0% crates/jp_cli/src/cmd/conversation/edit.rs
9
0.0
0.0% crates/jp_task/src/task/title_generator.rs
13
30.71
-0.55% crates/jp_cli/src/cmd/query.rs
32
55.64
-11.43% crates/jp_config/src/model/id.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
62.01
-0.27% crates/jp_cli/src/cmd/init.rs
Jobs
ID Job ID Ran Files Coverage
1 18194738131.1 02 Oct 2025 01:41PM UTC 139
44.22
GitHub Action Run
Source Files on build 18194738131
  • Tree
  • List 139
  • Changed 16
  • Source Changed 16
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #18194738131
  • f813b7e0 on github
  • Prev Build on main (#18041527233)
  • Next Build on main (#18195037079)
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