Skip to content

Commit b9cb2d3

Browse files
committed
typo fixed
1 parent 45af2a1 commit b9cb2d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,9 +198,9 @@ $chatData = new ChatData([
198198
]);
199199

200200
/*
201-
* Calls chatStreamRequest with optional $readByte parameter (default is set to 4096 when not specified)
201+
* Calls chatStreamRequest ($promise is type of PromiseInterface)
202202
*/
203-
$promise = LaravelOpenRouter::chatStreamRequest($chatData); // PromiseInterface is returned from chatStreamRequest
203+
$promise = LaravelOpenRouter::chatStreamRequest($chatData);
204204

205205
// Waits until the promise completes if possible.
206206
$stream = $promise->wait(); // $stream is type of GuzzleHttp\Psr7\Stream

0 commit comments

Comments
 (0)