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

dcdpr / jp / 17465383542
58%

Build:
DEFAULT BRANCH: main
Ran 04 Sep 2025 01:26PM 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.633% (-0.02%) from 40.652%
17465383542

push

github

web-flow
refactor(llm, anthropic): Improve message structure and caching (#239)

The Anthropic provider now properly uses system content for instructions
and attachments instead of injecting them as user messages with fake
assistant acknowledgments. This change aligns with the best-practices as
described in the Anthropic docs[1].

Additionally, the previous implementation sometimes caused more than
four cache points to be used, which resulted in an API error from
Anthropic. This is now fixed.

[1]:
https://docs.anthropic.com/en/docs/build-with-claude/prompt-engineering/overview

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

18 of 41 new or added lines in 1 file covered. (43.9%)

5175 of 12736 relevant lines covered (40.63%)

5.6 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
23
50.53
0.11% crates/jp_llm/src/provider/anthropic.rs
Jobs
ID Job ID Ran Files Coverage
1 17465383542.1 04 Sep 2025 01:26PM UTC 144
40.63
GitHub Action Run
Source Files on build 17465383542
  • Tree
  • List 144
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #17465383542
  • 704c2a47 on github
  • Prev Build on main (#17464882852)
  • Next Build on main (#17465396763)
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