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

dcdpr / jp / 18220300993
58%

Build:
DEFAULT BRANCH: main
Ran 03 Oct 2025 10:55AM UTC
Jobs 1
Files 139
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

03 Oct 2025 10:53AM UTC coverage: 44.415% (-0.02%) from 44.431%
18220300993

push

github

web-flow
fix(llm, anthropic): Enable multiple tool calls in single turn (#268)

Previously, when Anthropic models requested multiple tool calls during a
single turn, the system would group multiple tool call argument JSON
objects into a single tool call, causing argument parsing to fail. This
occurred because only the MessageDelta event with stop_reason:
`tool_use` was handled for tool call completion, but individual tool
calls in a multi-call response generate separate `ContentBlockStop`
events.

The fix adds handling for `ContentBlockStop` events when the provider is
accumulating tool call content, ensuring each tool call is properly
finalized before the next one begins. This prevents JSON object
concatenation and allows multiple tool calls to execute successfully in
sequence, significantly speeding up tool call completion, and reducing
token usage.

---------

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

0 of 5 new or added lines in 1 file covered. (0.0%)

1 existing line in 1 file now uncovered.

6231 of 14029 relevant lines covered (44.42%)

5.58 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
5
59.27
-0.5% crates/jp_llm/src/provider/anthropic.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
59.27
-0.5% crates/jp_llm/src/provider/anthropic.rs
Jobs
ID Job ID Ran Files Coverage
1 18220300993.1 03 Oct 2025 10:55AM UTC 139
44.42
GitHub Action Run
Source Files on build 18220300993
  • Tree
  • List 139
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #18220300993
  • ae246a8b on github
  • Prev Build on main (#18220112547)
  • Next Build on main (#18220573783)
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