Skip to content

Commit 523aa24

Browse files
committed
Fix ToolboxStreamResponse instantiation by passing the correct object type
1 parent 33a8c0a commit 523aa24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/agent/src/Toolbox/AgentProcessor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public function processOutput(Output $output): void
8080

8181
if ($result instanceof GenericStreamResponse) {
8282
$output->setResult(
83-
new ToolboxStreamResponse($result->getContent(), $this->handleToolCallsCallback($output))
83+
new ToolboxStreamResponse($result, $this->handleToolCallsCallback($output))
8484
);
8585

8686
return;

0 commit comments

Comments
 (0)