Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(assistants): add support for streaming #714

Merged
merged 1 commit into from
Mar 13, 2024

Conversation

stainless-bot
Copy link
Collaborator

See the reference docs for more information:
https://platform.openai.com/docs/api-reference/assistants-streaming
We've also improved some of the names for the types in
the assistants beta, non exhaustive list:

  • CodeToolCall -> CodeInterpreterToolCall
  • MessageContentImageFile -> ImageFileContentBlock
  • MessageContentText -> TextContentBlock
  • ThreadMessage -> Message
  • ThreadMessageDeleted -> MessageDeleted

See the reference docs for more information:
https://platform.openai.com/docs/api-reference/assistants-streaming

We've also improved some of the names for the types in
the assistants beta, non exhaustive list:

- `CodeToolCall` -> `CodeInterpreterToolCall`
- `MessageContentImageFile` -> `ImageFileContentBlock`
- `MessageContentText` -> `TextContentBlock`
- `ThreadMessage` -> `Message`
- `ThreadMessageDeleted` -> `MessageDeleted`
@stainless-bot stainless-bot requested a review from a team as a code owner March 13, 2024 20:30
@stainless-bot stainless-bot merged commit 7d27d28 into next Mar 13, 2024
@stainless-bot stainless-bot deleted the feat-assistants-add-support-for- branch March 13, 2024 20:30
@stainless-bot stainless-bot mentioned this pull request Mar 13, 2024
kisamoto added a commit to cognos-io/openai-node that referenced this pull request Mar 21, 2024
* 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)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant