Skip to content

Commit b2106b8

Browse files
Marco van AngerenMarco van Angeren
authored andcommitted
Revert whole file
1 parent 121f01f commit b2106b8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/agent/src/Toolbox/StreamResult.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,8 @@ public function getContent(): \Generator
3737
foreach ($innerResult->getMetadata()->all() as $key => $metadataValue) {
3838
$this->getMetadata()->add($key, $metadataValue);
3939
}
40-
41-
$content = $innerResult->getContent();
4240

41+
$content = $innerResult->getContent();
4342
// Strings are iterable in PHP but yield from would iterate character-by-character.
4443
// We need to yield the complete string as a single value to preserve streaming behavior.
4544
// null should also be yielded as-is.

0 commit comments

Comments
 (0)