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

dcdpr / jp / 24202651754
67%

Build:
DEFAULT BRANCH: main
Ran 09 Apr 2026 05:01PM UTC
Jobs 1
Files 262
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

09 Apr 2026 04:56PM UTC coverage: 64.856% (+0.4%) from 64.425%
24202651754

push

github

web-flow
feat(llm, cerebras): Add Cerebras LLM provider (#531)

Adds support for the Cerebras inference API as a new LLM provider,
giving users access to fast inference on models like `llama3.1-8b`,
`qwen-3-235b-a22b-instruct-2507`, `gpt-oss-120b`, and `zai-glm-4.7`.

The provider is OpenAI-compatible and reuses the SSE streaming types
from the `llamacpp` provider (now `pub(crate)`), extended with a serde
`alias = "reasoning"` on the `reasoning_content` field so that
Cerebras's `parsed` reasoning format is handled without duplication.

Reasoning is supported for `gpt-oss-120b` (low/medium/high effort) and
`zai-glm-4.7` (reasoning on by default; can be disabled with
`reasoning_effort: none`). All four known models are mapped to their
context-window and output-token limits.

Structured output is supported via a `transform_schema` step that adapts
the generic JSON Schema produced by `jp` to Cerebras's strict subset:
`additionalProperties: false` is enforced on all objects, all object
properties are added to `required`, and unsupported constraints
(`minItems`, `maxItems`, `pattern`, `format`) are stripped and appended
to the nearest `description` field as a soft hint to the model.

Signed-off-by: Jean Mertz <git@jeanmertz.com>
Co-authored-by: rgrant <rgrant@contract.design>

380 of 420 new or added lines in 6 files covered. (90.48%)

1 existing line in 1 file now uncovered.

20711 of 31934 relevant lines covered (64.86%)

301.51 hits per line

Uncovered Changes

Lines Coverage ∆ File
39
89.68
crates/jp_llm/src/provider/cerebras.rs
1
95.24
crates/jp_config/src/providers/llm/cerebras.rs

Coverage Regressions

Lines Coverage ∆ File
1
76.33
0.1% crates/jp_config/src/model/id.rs
Jobs
ID Job ID Ran Files Coverage
1 24202651754.1 09 Apr 2026 05:01PM UTC 262
64.86
GitHub Action Run
Source Files on build 24202651754
  • Tree
  • List 262
  • Changed 6
  • Source Changed 5
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24202651754
  • 74693e95 on github
  • Prev Build on main (#24186909569)
  • Next Build on main (#24240333167)
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