-
Notifications
You must be signed in to change notification settings - Fork 2.4k
chore (@ai-sdk/openai): export provider options #6713
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
base: v5
Are you sure you want to change the base?
Conversation
export type { OpenAIEmbeddingProviderOptions } from './openai-embedding-options'; | ||
export type { OpenAIProviderOptions } from './openai-chat-options'; | ||
export type { OpenAITranscriptionProviderOptions } from './openai-transcription-options'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rm from internal as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've removed them but they were barrel imports, which concerns me a bit.
Tests all pass and builds ok so seems fine.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok this indeed broke things with Azure provider
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
azure seems to be resolved now
975b565
to
9115baf
Compare
@@ -1,13 +1,10 @@ | |||
export * from '../openai-chat-language-model'; | |||
export * from '../openai-chat-options'; | |||
export * from '../openai-completion-language-model'; | |||
export * from '../openai-completion-options'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this be moved as well
export * from '../openai-image-model'; | ||
export * from '../openai-image-settings'; | ||
export * from '../openai-transcription-model'; | ||
export * from '../openai-transcription-options'; | ||
export * from '../openai-speech-model'; | ||
export * from '../openai-speech-options'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same
Background
OpenAI provider options were not exposed.
Summary
Exported provider options.
Tasks
pnpm changeset
in the project root)