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 26f9b8b commit 4aaf134Copy full SHA for 4aaf134
composer.json
@@ -17,7 +17,7 @@
17
"require": {
18
"php": "^8.1.0",
19
"nyholm/psr7": "^1.8.1",
20
- "openai-php/client": "^0.8.0",
+ "openai-php/client": "^0.10",
21
"psr/http-client": "^1.0.3",
22
"psr/http-factory": "^1.0.2",
23
"symfony/config": "^5.4|^6.3|^7.0",
src/Resources/config/services.php
->set(Factory::class)
->factory([OpenAI::class, 'factory'])
->call('withHttpClient', [service('openai.http_client')])
- ->call('withHttpHeader', ['OpenAI-Beta', 'assistants=v1'])
+ ->call('withHttpHeader', ['OpenAI-Beta', 'assistants=v2'])
->set(Client::class)
->factory([service(Factory::class), 'make'])
0 commit comments