File tree Expand file tree Collapse file tree 3 files changed +1
-5
lines changed
Expand file tree Collapse file tree 3 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,6 @@ public function getContent(): \Generator
6767 $ streamedResult .= $ value ;
6868
6969 yield $ value ;
70-
7170 }
7271
7372 // Attach the metadata from the platform stream to the agent after the stream has been fully processed
Original file line number Diff line number Diff line change 2323use Symfony \AI \Platform \Result \RawHttpResult ;
2424use Symfony \AI \Platform \Result \RawResultInterface ;
2525use Symfony \AI \Platform \Result \ResultInterface ;
26- use Symfony \AI \Platform \Result \TextChunk ;
2726use Symfony \AI \Platform \Result \StreamResult ;
27+ use Symfony \AI \Platform \Result \TextChunk ;
2828use Symfony \AI \Platform \Result \TextResult ;
2929use Symfony \AI \Platform \Result \ToolCall ;
3030use Symfony \AI \Platform \Result \ToolCallResult ;
Original file line number Diff line number Diff line change 1616 */
1717final class TextChunk extends BaseResult implements \Stringable
1818{
19- /**
20- * @param string $content
21- */
2219 public function __construct (
2320 private readonly string $ content ,
2421 ) {
You can’t perform that action at this time.
0 commit comments