@ai-sdk/openai
4.0.108 · 3 Nov 2026Apache-2.022M / weekRepositoryHomepagenpmAtom feed
Your version
2.0.140 is the newest release of 2.x.
In short
3 new1 fixed2 internal
Release note
Patch Changes
openai, azure: Add configurable file ID prefixes for Responses API
Added
fileIdPrefixesoption to OpenAI Responses API configurationAzure OpenAI now supports
assistant-prefixed file IDs (replacing previousfile-prefix support)OpenAI maintains backward compatibility with default
file-prefixFile ID detection is disabled when
fileIdPrefixesis undefined, gracefully falling back to base64 processing
provider/openai: Add support for prompt_cache_key
provider/openai: Add support for safety_identifier
openai: Add missing file_search_call handlers in responses streaming