Skip to content

Commit acc939c

Browse files
authored
fix: streamed response tool call without arguments
1 parent c176c96 commit acc939c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Responses/Chat/CreateStreamedResponseToolCallFunction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public static function from(array $attributes): self
1818
{
1919
return new self(
2020
$attributes['name'] ?? null,
21-
$attributes['arguments'],
21+
$attributes['arguments'] ?? '',
2222
);
2323
}
2424

0 commit comments

Comments
 (0)