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 45af2a1 commit b9cb2d3Copy full SHA for b9cb2d3
README.md
@@ -198,9 +198,9 @@ $chatData = new ChatData([
198
]);
199
200
/*
201
- * Calls chatStreamRequest with optional $readByte parameter (default is set to 4096 when not specified)
+ * Calls chatStreamRequest ($promise is type of PromiseInterface)
202
*/
203
-$promise = LaravelOpenRouter::chatStreamRequest($chatData); // PromiseInterface is returned from chatStreamRequest
+$promise = LaravelOpenRouter::chatStreamRequest($chatData);
204
205
// Waits until the promise completes if possible.
206
$stream = $promise->wait(); // $stream is type of GuzzleHttp\Psr7\Stream
0 commit comments