Skip to content

Commit

Permalink
[OpenAI] Prepare for Release (#28365)
Browse files Browse the repository at this point in the history
  • Loading branch information
minhanh-phan authored Jan 25, 2024
1 parent 59db5ca commit d013f5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 1 addition & 7 deletions sdk/openai/openai/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,13 @@
# Release History

## 1.0.0-beta.11 (Unreleased)

### Features Added

### Breaking Changes
## 1.0.0-beta.11 (2024-01-25)

### Bugs Fixed

- Fix a bug where `toolChoice` field in the input options to chat completion methods wasn't defined correctly.
- 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
Expand Down
2 changes: 1 addition & 1 deletion sdk/openai/openai/src/rest/openAIClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}`
Expand Down

0 comments on commit d013f5f

Please sign in to comment.