diff --git a/composer.json b/composer.json index c0ed60d..67c5dca 100644 --- a/composer.json +++ b/composer.json @@ -13,7 +13,7 @@ "require": { "php": "^8.1.0", "nyholm/psr7": "^1.8.0", - "openai-php/client": "^v0.6.4", + "openai-php/client": "^v0.7.10", "psr/http-client": "^1.0.2", "psr/http-factory": "^1.0.2", "symfony/config": "^5.4.21|^6.2.7", diff --git a/tests/DependencyInjection/OpenAIExtensionTest.php b/tests/DependencyInjection/OpenAIExtensionTest.php index 4d07166..54f225c 100644 --- a/tests/DependencyInjection/OpenAIExtensionTest.php +++ b/tests/DependencyInjection/OpenAIExtensionTest.php @@ -25,6 +25,7 @@ public function testService(): void 'http_code' => 200, 'response_headers' => [ 'content-type' => 'application/json', + 'x-request-id' => '0123456789abcdef0123456789abcdef', ], ]); });