Skip to content

Commit

Permalink
WIP: fix docs error
Browse files Browse the repository at this point in the history
  • Loading branch information
gehrisandro committed Nov 12, 2023
1 parent fcddbca commit 8eb0f81
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1124,9 +1124,8 @@ $response->toArray(); // ['id' => 'thread_tKFLqzRN9n7MnyKKvc1Q7868', ...]
Create a thread and run it in one request.

```php
$response = $client->threads()->runs()->createAndRun(
threadId: 'thread_tKFLqzRN9n7MnyKKvc1Q7868',
parameters: [
$response = $client->threads()->createAndRun(
[
'assistant_id' => 'asst_gxzBkD1wkKEloYqZ410pT5pd',
'thread' => [
'messages' =>
Expand Down

0 comments on commit 8eb0f81

Please sign in to comment.