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 37c6bba commit 8eaaebfCopy full SHA for 8eaaebf
src/platform/src/Bridge/Ollama/OllamaResultConverter.php
@@ -110,7 +110,7 @@ private function convertStream(ResponseInterface $result): \Generator
110
if ($this->streamIsToolCall($data)) {
111
$toolCalls = $this->convertStreamToToolCalls($toolCalls, $data);
112
}
113
-
+
114
if ([] !== $toolCalls && $this->isToolCallsStreamFinished($data)) {
115
yield new ToolCallResult(...$toolCalls);
116
@@ -150,7 +150,7 @@ private function streamIsToolCall(array $data): bool
150
{
151
return isset($data['message']['tool_calls']);
152
153
154
/**
155
* @param array<string, mixed> $data^
156
*/
0 commit comments