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

dcdpr / jp / 17465396763
58%

Build:
DEFAULT BRANCH: main
Ran 04 Sep 2025 01:28PM 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

04 Sep 2025 01:25PM UTC coverage: 40.615% (-0.02%) from 40.633%
17465396763

push

github

web-flow
feat(config, llm): Make Anthropic beta headers configurable (#240)

Previously, beta headers for experimental Anthropic API features were
hardcoded in the provider implementation. This made it impossible for
users to control which beta features were enabled or to update them
without code changes.

This change introduces a new `beta_headers` configuration field for the
Anthropic provider, allowing users to specify which experimental
features to enable through their workspace configuration. The headers
can be set via the `provider.anthropic.beta_headers` array in the TOML
config or through the `JP_ASSISTANT_PROVIDER_ANTHROPIC_BETA_HEADERS`
environment variable.

Users can now enable features like increased context window and
interleaved thinking by setting the relevant headers
(`context-1m-2025-08-07` and `interleaved-thinking-2025-05-14`).

To know which headers are available, see the [Anthropic API release
notes](https://docs.anthropic.com/en/release-notes/api).

---------

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

8 of 19 new or added lines in 2 files covered. (42.11%)

1 existing line in 1 file now uncovered.

5176 of 12744 relevant lines covered (40.62%)

5.6 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
5
50.53
-0.0% crates/jp_llm/src/provider/anthropic.rs
6
0.0
0.0% crates/jp_config/src/assistant/provider/anthropic.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
0.0
0.0% crates/jp_config/src/assistant/provider/anthropic.rs
Jobs
ID Job ID Ran Files Coverage
1 17465396763.1 04 Sep 2025 01:28PM UTC 144
40.62
GitHub Action Run
Source Files on build 17465396763
  • Tree
  • List 144
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #17465396763
  • 2f039b63 on github
  • Prev Build on main (#17465383542)
  • Next Build on main (#17466639787)
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