Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 4aaf134

Browse files
slim-dg9slimacek
authored andcommitted
Assistant v2 update
1 parent 26f9b8b commit 4aaf134

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"require": {
1818
"php": "^8.1.0",
1919
"nyholm/psr7": "^1.8.1",
20-
"openai-php/client": "^0.8.0",
20+
"openai-php/client": "^0.10",
2121
"psr/http-client": "^1.0.3",
2222
"psr/http-factory": "^1.0.2",
2323
"symfony/config": "^5.4|^6.3|^7.0",

‎src/Resources/config/services.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
->set(Factory::class)
1818
->factory([OpenAI::class, 'factory'])
1919
->call('withHttpClient', [service('openai.http_client')])
20-
->call('withHttpHeader', ['OpenAI-Beta', 'assistants=v1'])
20+
->call('withHttpHeader', ['OpenAI-Beta', 'assistants=v2'])
2121

2222
->set(Client::class)
2323
->factory([service(Factory::class), 'make'])

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /