Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions responses.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
git: 190d3e51e188f12b9e85207da835780048faf486
git: b3c1a5ceea69156c002bab55039e48e28aaae0ad
---

# HTTP-ответы
Expand Down Expand Up @@ -368,7 +368,7 @@ Route::get('/stream', function () {

```php
Route::post('/chat', function () {
return response()->stream(function (): void {
return response()->stream(function (): Generator {
$stream = OpenAI::client()->chat()->createStreamed(...);

foreach ($stream as $response) {
Expand Down