File tree 4 files changed +11
-2
lines changed
4 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
4
4
The format is based on [ Keep a Changelog] ( http://keepachangelog.com/ )
5
5
and this project adheres to [ Semantic Versioning] ( http://semver.org/ ) .
6
6
7
+ ## v0.10.0-beta.2 (2024-05-28)
8
+ ### Fixed
9
+ - Api version header in Service Provider - ([ #100 ] ( https://github.com/openai-php/laravel/issues/100 ) )
10
+
11
+ ## v0.10.0-beta.1 (2024-05-27)
12
+ ### Changed
13
+ - Changed underlying ` openai/client ` package version from 0.9.1 to v0.10.0-beta.1
14
+
7
15
## v0.9.1 (2024-05-25)
8
16
### Changed
9
17
- Changed underlying ` openai/client ` package version from 0.9.0 to v0.9.1
Original file line number Diff line number Diff line change 13
13
"php" : " ^8.1.0" ,
14
14
"guzzlehttp/guzzle" : " ^7.8.1" ,
15
15
"laravel/framework" : " ^9.46.0|^10.34.2|^11.0" ,
16
- "openai-php/client" : " ^v0.9 .1"
16
+ "openai-php/client" : " ^v0.10.0-beta .1"
17
17
},
18
18
"require-dev" : {
19
19
"laravel/pint" : " ^1.13.6" ,
Original file line number Diff line number Diff line change 23
23
* @method static \OpenAI\Resources\Models models()
24
24
* @method static \OpenAI\Resources\Moderations moderations()
25
25
* @method static \OpenAI\Resources\Threads threads()
26
+ * @method static \OpenAI\Resources\VectorStores vectorStores()
26
27
*/
27
28
final class OpenAI extends Facade
28
29
{
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ public function register(): void
33
33
return OpenAI::factory ()
34
34
->withApiKey ($ apiKey )
35
35
->withOrganization ($ organization )
36
- ->withHttpHeader ('OpenAI-Beta ' , 'assistants=v1 ' )
36
+ ->withHttpHeader ('OpenAI-Beta ' , 'assistants=v2 ' )
37
37
->withHttpClient (new \GuzzleHttp \Client (['timeout ' => config ('openai.request_timeout ' , 30 )]))
38
38
->make ();
39
39
});
You can’t perform that action at this time.
0 commit comments