Skip to content

Commit

Permalink
Update to beta 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernhard Schmitt committed Jul 15, 2024
1 parent 4f8aff8 commit 7ac303b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Classes/OpenAiClientFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public function createClientForAccountRecord(AccountRecord $record): ClientContr
$factory = (new Factory())
->withHttpClient($this->httpClient)
->withApiKey($record->apiKey)
->withHttpHeader('OpenAI-Beta', 'assistants=v1')
->withHttpHeader('OpenAI-Beta', 'assistants=v2')
->withOrganization($record->organisation);
return $factory->make();
}
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "sitegeist/flow-openaiclientfactory",
"require": {
"neos/flow": "*",
"openai-php/client": "^0.8"
"openai-php/client": "^0.10.1"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 7ac303b

Please sign in to comment.