From d013f5fa56f458e9f7105042ff3b40988e1a2bc0 Mon Sep 17 00:00:00 2001 From: Minh-Anh Phan <111523473+minhanh-phan@users.noreply.github.com> Date: Wed, 24 Jan 2024 17:13:28 -0800 Subject: [PATCH] [OpenAI] Prepare for Release (#28365) --- sdk/openai/openai/CHANGELOG.md | 8 +------- sdk/openai/openai/src/rest/openAIClient.ts | 2 +- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/sdk/openai/openai/CHANGELOG.md b/sdk/openai/openai/CHANGELOG.md index 5675e131b798..4a857b9da8e8 100644 --- a/sdk/openai/openai/CHANGELOG.md +++ b/sdk/openai/openai/CHANGELOG.md @@ -1,10 +1,6 @@ # Release History -## 1.0.0-beta.11 (Unreleased) - -### Features Added - -### Breaking Changes +## 1.0.0-beta.11 (2024-01-25) ### Bugs Fixed @@ -12,8 +8,6 @@ - Fix a bug where the service returns undefined `choices` in chat completion methods. - Fix a bug in chat completion methods where the returned stream was causing an error in Bun. -### Other Changes - ## 1.0.0-beta.10 (2024-01-03) ### Bugs Fixed diff --git a/sdk/openai/openai/src/rest/openAIClient.ts b/sdk/openai/openai/src/rest/openAIClient.ts index bdab56468e63..dfdbcb67fdcf 100644 --- a/sdk/openai/openai/src/rest/openAIClient.ts +++ b/sdk/openai/openai/src/rest/openAIClient.ts @@ -28,7 +28,7 @@ export default function createClient( ): OpenAIContext { const baseUrl = options.baseUrl ?? `${endpoint}/openai`; options.apiVersion = options.apiVersion ?? "2023-12-01-preview"; - const userAgentInfo = `azsdk-js-openai-rest/1.0.0-beta.9`; + const userAgentInfo = `azsdk-js-openai-rest/1.0.0-beta.11`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${userAgentInfo}`