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

dcdpr / jp / 27491629811
67%

Build:
DEFAULT BRANCH: main
Ran 14 Jun 2026 07:22AM UTC
Jobs 1
Files 409
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

14 Jun 2026 07:14AM UTC coverage: 66.457% (-0.04%) from 66.492%
27491629811

push

github

web-flow
feat(llm, anthropic): Add `claude-fable-5` and escalating-nudge retry (#745)

Claude Fable 5 runs with adaptive thinking permanently and rejects both
`thinking: disabled` and forced `tool_choice` while thinking is active.
The existing hard retry (disable thinking, then force the tool call) is
therefore unavailable for this model.

This commit introduces a `ForceStrategy` enum with two variants:
`DisableThinking` (the existing path for all other models) and
`EscalatingNudge` (for thinking-always-on models). A new
`supports_disabling_thinking()` method on `ModelDetails` gates which
path is taken, keyed off the new `thinking-always-on` feature flag.

When Fable 5 finishes a soft-forced request without calling the required
tool, `dispatch_force_retry` now delegates to `soft_force_retry`, which
appends the non-compliant assistant turn and re-issues the request with
a progressively firmer user message ("you MUST call this tool now"),
up to `SOFT_FORCE_MAX_RETRIES` times before accepting the response.

The `thinking: disabled` branch in `create_request` is also guarded by
`supports_disabling_thinking()`, so Fable 5 never sends a disabled
thinking config that the API would reject with a 400 error.

Unknown models now source token limits and structured-output capability
directly from the API response rather than leaving them entirely unset.
A reported value of `0` is treated as unspecified and left as `None`.

---------

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

44 of 106 new or added lines in 2 files covered. (41.51%)

34510 of 51928 relevant lines covered (66.46%)

221.17 hits per line

Uncovered Changes

Lines Coverage ∆ File
62
79.05
-3.25% crates/jp_llm/src/provider/anthropic.rs
Jobs
ID Job ID Ran Files Coverage
1 27491629811.1 14 Jun 2026 07:22AM UTC 409
66.46
GitHub Action Run
Source Files on build 27491629811
  • Tree
  • List 409
  • Changed 4
  • Source Changed 2
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27491629811
  • 8864bcbf on github
  • Prev Build on main (#27491626702)
  • Next Build on main (#27496738627)
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