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.
else
1 parent b60816a commit fd8869aCopy full SHA for fd8869a
src/Bridge/OpenAI/GPT/ResponseConverter.php
@@ -59,9 +59,9 @@ private function convertStream(HttpResponse $response): ToolCallResponse|StreamR
59
60
if ($this->streamIsToolCall($stream)) {
61
return new ToolCallResponse(...$this->convertStreamToToolCalls($stream));
62
- } else {
63
- return new StreamResponse($this->convertStreamContent($stream));
64
}
+
+ return new StreamResponse($this->convertStreamContent($stream));
65
66
67
private function streamResponse(HttpResponse $response): \Generator
0 commit comments