forked from openai/openai-node
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into cognos/fork
* master: (30 commits) release: 4.29.2 docs: assistant improvements (openai#725) chore(internal): update generated pragma comment (openai#724) docs: fix typo in CONTRIBUTING.md (openai#722) release: 4.29.1 docs(readme): assistant streaming (openai#719) release: 4.29.0 feat(assistants): add support for streaming (openai#714) release: 4.28.5 chore(internal): add explicit type annotation to decoder (openai#712) docs: use @deprecated decorator for deprecated params (openai#711) docs: remove extraneous --save and yarn install instructions (openai#710) chore(types): fix accidental exposure of Buffer type to cloudflare (openai#709) fix(streaming): correctly handle trailing new lines in byte chunks (openai#708) docs(readme): fix https proxy example (openai#705) chore: fix error handler in readme (openai#704) chore(api): update docs (openai#703) chore(docs): mention install from git repo (openai#700) fix(ChatCompletionStream): abort on async iterator break and handle errors (openai#699) docs(readme): fix typo in custom fetch implementation (openai#698) ...
- Loading branch information
Showing
87 changed files
with
3,872 additions
and
538 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
".": "4.28.3" | ||
".": "4.29.2" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
This repository uses [`yarn@v1`](https://classic.yarnpkg.com/lang/en/docs/install/#mac-stable). | ||
Other package managers may work but are not officially supported for development. | ||
|
||
To setup the repository, run: | ||
To set up the repository, run: | ||
|
||
```bash | ||
yarn | ||
|
@@ -42,7 +42,7 @@ If you’d like to use the repository from source, you can either install from g | |
To install via git: | ||
|
||
```bash | ||
npm install --save git+ssh://[email protected]:openai/openai-node.git | ||
npm install git+ssh://[email protected]:openai/openai-node.git | ||
``` | ||
|
||
Alternatively, to link a local copy of the repo: | ||
|
@@ -65,10 +65,10 @@ pnpm link -—global openai | |
|
||
## Running tests | ||
|
||
Most tests will require you to [setup a mock server](https://github.com/stoplightio/prism) against the OpenAPI spec to run the tests. | ||
Most tests require you to [set up a mock server](https://github.com/stoplightio/prism) against the OpenAPI spec to run the tests. | ||
|
||
```bash | ||
npx prism path/to/your/openapi.yml | ||
npx prism mock path/to/your/openapi.yml | ||
``` | ||
|
||
```bash | ||
|
@@ -99,7 +99,7 @@ the changes aren't made through the automated pipeline, you may want to make rel | |
|
||
### Publish with a GitHub workflow | ||
|
||
You can release to package managers by using [the `Publish NPM` GitHub action](https://www.github.com/openai/openai-node/actions/workflows/publish-npm.yml). This will require a setup organization or repository secret to be set up. | ||
You can release to package managers by using [the `Publish NPM` GitHub action](https://www.github.com/openai/openai-node/actions/workflows/publish-npm.yml). This requires a setup organization or repository secret to be set up. | ||
|
||
### Publish manually | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.