Skip to content

Commit 171ffbb

Browse files
jpsilvaagehrisandro
authored andcommitted
Assistant v2 update
1 parent 7966cd1 commit 171ffbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function register(): void
3333
return OpenAI::factory()
3434
->withApiKey($apiKey)
3535
->withOrganization($organization)
36-
->withHttpHeader('OpenAI-Beta', 'assistants=v1')
36+
->withHttpHeader('OpenAI-Beta', 'assistants=v2')
3737
->withHttpClient(new \GuzzleHttp\Client(['timeout' => config('openai.request_timeout', 30)]))
3838
->make();
3939
});

0 commit comments

Comments
 (0)