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(types): fix ambiguous auto-import for chat completions params #266

Merged
merged 1 commit into from
Aug 29, 2023

Conversation

stainless-bot
Copy link
Collaborator

@stainless-bot stainless-bot commented Aug 29, 2023

This renames the following types and deprecates the old names:

  • CompletionCreateParams -> ChatCompletionCreateParams
  • CompletionCreateParamsStreaming -> ChatCompletionCreateParamsStreaming
  • CompletionCreateParamsNonStreaming -> ChatCompletionCreateParamsNonStreaming
  • CreateChatCompletionRequestMessage -> ChatCompletionCreateMessageParam

This renames the following types and deprecates the old names:
- `CompletionCreateParams` -> `ChatCompletionCreateParams`
- `CompletionCreateParamsStreaming` -> `ChatCompletionCreateParamsStreaming`
- `CompletionCreateParamsNonStreaming` -> `ChatCompletionCreateParamsNonStreaming`
- `CreateChatCompletionRequestMessage` -> `ChatCompletionCreateParamsMessage`
@stainless-bot stainless-bot merged commit 19c99fb into next Aug 29, 2023
@stainless-bot stainless-bot deleted the feat-types-fix-ambiguous-auto-im branch August 29, 2023 22:18
hmarr added a commit to hmarr/openai-chat-tokens that referenced this pull request Sep 28, 2023
hmarr added a commit to hmarr/openai-chat-tokens that referenced this pull request Sep 28, 2023
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