Skip to content

Commit

Permalink
[OpenAI] Fix import (#31040)
Browse files Browse the repository at this point in the history
Thanks to @diberry for the catch!
  • Loading branch information
deyaaeldeen authored Sep 9, 2024
1 parent d06725e commit bf8daea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions sdk/openai/openai/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
# Release History

## 2.0.0-beta.2 (Unreleased)
## 2.0.0-beta.2 (2024-09-09)

### Features Added

- Adds `CompletionChoice` interface with content filter result.
- Updates the `license` property to be optional in `ContentFilterCitedDetectionResultOutput`.
- Updates `custom_blocklists` type in `ContentFilterResultsForChoiceOutput` to `ContentFilterDetailedResults`.

### Breaking Changes

### Bugs Fixed

### Other Changes
- Add `@azure-rest/core-client` as a dependency so TypeScript users don't have to import it manually in their code.

## 2.0.0-beta.1 (2024-07-22)

Expand Down
2 changes: 1 addition & 1 deletion sdk/openai/openai/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@
"sideEffects": false,
"prettier": "@azure/eslint-plugin-azure-sdk/prettier.json",
"devDependencies": {
"@azure-rest/core-client": "^1.0.0",
"@azure-tools/test-credential": "^2.0.0",
"@azure-tools/test-recorder": "^4.1.0",
"@azure-tools/test-utils-vitest": "^1.0.0",
Expand All @@ -129,6 +128,7 @@
"vitest": "^2.0.4"
},
"dependencies": {
"@azure-rest/core-client": "^2.2.0",
"tslib": "^2.6.3"
},
"//sampleConfiguration": {
Expand Down

0 comments on commit bf8daea

Please sign in to comment.