Skip to content

Conversation

@vercel-ai-sdk
Copy link
Contributor

@vercel-ai-sdk vercel-ai-sdk bot commented Sep 24, 2025

This is an automated backport of #8212 to the v5.0 branch.

## Background

We are currently not exporting a type for `providerOptions.openai`

## Summary

Export `OpenAILanguageModelOptions` to type `providerOptions.openai` as
needed

## Manual Verification


[examples/ai-core/src/generate-text/openai-provider-options.ts](https://github.com/vercel/ai/blob/gr2m/export-mistral-language-model-options/examples/ai-core/src/generate-text/openai-provider-options.ts#L9-L28)

## Tasks

- [ ] ~~Tests have been added / updated (for bug fixes / features)~~ we
don't currently do test of module exports, we use examples instead
- [x] Documentation has been added / updated (for bug fixes / features)
- [x] A _patch_ changeset for relevant packages has been added (for bug
fixes / features - run `pnpm changeset` in the project root)
- [x] Formatting issues have been fixed (run `pnpm prettier-fix` in the
project root)

## Related Issues

- #8202
@gr2m gr2m merged commit 1cfc209 into release-v5.0 Sep 24, 2025
11 checks passed
@gr2m gr2m deleted the backport-pr-8212-to-v5.0 branch September 24, 2025 23:24
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.

2 participants