Skip to content

Commit

Permalink
Assistant v2 update.
Browse files Browse the repository at this point in the history
  • Loading branch information
halilcosdu committed Aug 10, 2024
1 parent 5a1be93 commit 1f90e01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SlowerServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public function packageRegistered(): void
$openAI = OpenAIFactory::factory()
->withApiKey($apiKey)
->withOrganization($organization)
->withHttpHeader('OpenAI-Beta', 'assistants=v1')
->withHttpHeader('OpenAI-Beta', 'assistants=v2')
->withHttpClient(new \GuzzleHttp\Client(['timeout' => $timeout]))
->make();

Expand Down

0 comments on commit 1f90e01

Please sign in to comment.