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 7966cd1 commit 171ffbbCopy full SHA for 171ffbb
src/ServiceProvider.php
@@ -33,7 +33,7 @@ public function register(): void
33
return OpenAI::factory()
34
->withApiKey($apiKey)
35
->withOrganization($organization)
36
- ->withHttpHeader('OpenAI-Beta', 'assistants=v1')
+ ->withHttpHeader('OpenAI-Beta', 'assistants=v2')
37
->withHttpClient(new \GuzzleHttp\Client(['timeout' => config('openai.request_timeout', 30)]))
38
->make();
39
});
0 commit comments