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

dcdpr / jp / 24354983231
67%

Build:
DEFAULT BRANCH: main
Ran 13 Apr 2026 04:41PM UTC
Jobs 1
Files 268
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

13 Apr 2026 04:37PM UTC coverage: 65.278% (+0.05%) from 65.23%
24354983231

push

github

web-flow
fix(llm, anthropic): Inject continue message for non-prefill models (#545)

Some Anthropic models require conversations to end with a user message
and don't support the assistant prefill technique — where an assistant
message as the final event causes the model to continue from that exact
point.

A new `prefill` feature flag has been added to `ModelDetails` to track
which models support this behaviour. When a conversation ends with an
assistant message (e.g. after an interrupt or a retry that flushed
partial content) and the model lacks the `prefill` feature, a synthetic
user "continue" message is injected so the model picks up exactly where
it left off without repeating already-produced content.

All known Anthropic models have been updated with the appropriate
`prefill` flag. The `find_merge_point` helper was also promoted from a
private function in the Anthropic provider to a `pub(crate)` function in
`stream::chain`, removing the duplication that existed between the two
call sites.

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

30 of 30 new or added lines in 3 files covered. (100.0%)

21530 of 32982 relevant lines covered (65.28%)

208.13 hits per line

Jobs
ID Job ID Ran Files Coverage
1 24354983231.1 13 Apr 2026 04:41PM UTC 268
65.28
GitHub Action Run
Source Files on build 24354983231
  • Tree
  • List 268
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24354983231
  • 2d805859 on github
  • Prev Build on main (#24280624585)
  • Next Build on main (#24363712729)
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