Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

fine-grained-tool-streaming changedagents-and-tools/tool-use/fine-grained-tool-streaming

Recorded here
Lines+1added
Lines−1removed
From line 835 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits11to this page, all time

The whole hunk

from line 835, old and new numbered
/
lines
from line 835
835835 try {
836836 $parsed = json_decode($accumulated, associative: true, flags: JSON_THROW_ON_ERROR);
837837 echo "Tool input: " . json_encode($parsed) . "\n";
838 } catch (JsonException $e) {
838 } catch (\JsonException $e) {
839839 // The accumulated string is not guaranteed to be valid JSON.
840840 // See "Handling invalid JSON in tool responses" on this page.
841841 echo "Invalid tool input: {$accumulated}\n";
Feedback