File tree Expand file tree Collapse file tree 4 files changed +11
-2
lines changed
Expand file tree Collapse file tree 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.
44The format is based on [ Keep a Changelog] ( http://keepachangelog.com/ )
55and this project adheres to [ Semantic Versioning] ( http://semver.org/ ) .
66
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+
715## v0.9.1 (2024-05-25)
816### Changed
917- Changed underlying ` openai/client ` package version from 0.9.0 to v0.9.1
Original file line number Diff line number Diff line change 1313 "php" : " ^8.1.0" ,
1414 "guzzlehttp/guzzle" : " ^7.8.1" ,
1515 "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"
1717 },
1818 "require-dev" : {
1919 "laravel/pint" : " ^1.13.6" ,
Original file line number Diff line number Diff line change 2323 * @method static \OpenAI\Resources\Models models()
2424 * @method static \OpenAI\Resources\Moderations moderations()
2525 * @method static \OpenAI\Resources\Threads threads()
26+ * @method static \OpenAI\Resources\VectorStores vectorStores()
2627 */
2728final class OpenAI extends Facade
2829{
Original file line number Diff line number Diff 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 });
You can’t perform that action at this time.
0 commit comments