We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 121f01f commit b2106b8Copy full SHA for b2106b8
src/agent/src/Toolbox/StreamResult.php
@@ -37,9 +37,8 @@ public function getContent(): \Generator
37
foreach ($innerResult->getMetadata()->all() as $key => $metadataValue) {
38
$this->getMetadata()->add($key, $metadataValue);
39
}
40
-
41
- $content = $innerResult->getContent();
42
+ $content = $innerResult->getContent();
43
// Strings are iterable in PHP but yield from would iterate character-by-character.
44
// We need to yield the complete string as a single value to preserve streaming behavior.
45
// null should also be yielded as-is.
0 commit comments