Skip to content

Commit 121f01f

Browse files
Marco van AngerenMarco van Angeren
authored andcommitted
Finally reverted whitespace properly
1 parent b1bea56 commit 121f01f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/agent/src/Toolbox/StreamResult.php

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

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

0 commit comments

Comments
 (0)