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

release: 4.16.0 #430

Conversation

stainless-bot
Copy link
Collaborator

@stainless-bot stainless-bot commented Nov 6, 2023

Automated Release PR

4.16.0 (2023-11-06)

Full Changelog: v4.15.4...v4.16.0

Features

  • api: releases from DevDay; assistants, multimodality, tools, dall-e-3, tts, and more (#433) (fb92f5e)

Bug Fixes

Documentation


This Pull Request has been generated automatically as part of Stainless's release process.
For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request (see details).

More technical details can be found at stainless-api/release-please.

build-deno Outdated
cat << EOF > deno/README.md
# OpenAI Node API Library - Deno build

This is a build produced from openai/openai-node - please go there to read the source, file issues, etc.
This is a build produced from https://github.com/openai/openai-node - please go there to read the source and docs, file issues, etc.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

em-dash instead of hyphen?

build-deno Outdated
\`\`\`
import OpenAI from "https://deno.land/x/openai";
\`\`\`ts
import OpenAI from "https://deno.land/x/openai@$PACKAGE_VERSION/mod.ts";
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you also update the README of openai-node? That has Deno examples, and we should update them to use mod.ts + point to this repo.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah right of course, ty

@stainless-bot stainless-bot force-pushed the release-please--branches--master--changes--next--components--openai branch from ce13fc6 to 5da63d4 Compare November 6, 2023 03:58
@stainless-bot stainless-bot force-pushed the release-please--branches--master--changes--next--components--openai branch from e5a5cdf to 74bf336 Compare November 6, 2023 06:25
@stainless-bot stainless-bot force-pushed the release-please--branches--master--changes--next--components--openai branch from 3c5dae8 to fb92f5e Compare November 6, 2023 19:24
@stainless-bot stainless-bot changed the title release: 4.15.5 release: 4.16.0 Nov 6, 2023
@stainless-bot stainless-bot merged commit d4d4687 into master Nov 6, 2023
1 check passed
@stainless-bot
Copy link
Collaborator Author

@elitan
Copy link

elitan commented Nov 6, 2023

Thank you! 🙏

@@ -205,19 +359,24 @@ export interface ChatCompletionMessage {
/**
* The role of the author of this message.
*/
role: ChatCompletionRole;
role: 'assistant';
Copy link

@acekevin acekevin Nov 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if this will be noticed, but I'm curious why this was changed to just 'assistant' from ChatCompletionRole? The change broke our TS build that was relying on ChatCompletionMessage to define some messages before senging into openai.chat.completions.create() but maybe we shouldn't be doing that?

I'll review changing to ChatCompletionMessageParam as the type to use before we call openai.chat.completions.create

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants