ai_sdk_azure 1.2.0
ai_sdk_azure: ^1.2.0 copied to clipboard
Azure OpenAI provider for AI SDK Dart. Use Azure-hosted OpenAI models for text generation and embeddings.
1.2.0 #
- Rebuilt on the shared
ai_sdk_openai_compatiblebase. Azure deployments now get real tool use, multimodal image input, and nativeresponse_formatJSON-schema output (previously text + streaming only). The Azureapi-versionquery parameter andapi-keyauth scheme are supplied through the shared config. - Errors: non-2xx responses now surface as a typed
AiApiCallError(via the shared base). - Now requires
ai_sdk_openai_compatible ^1.2.0. - 100% line coverage.
1.1.0 #
- Bumped
ai_sdk_providerconstraint to^1.1.0. - Version aligned with the rest of the monorepo.
1.0.0 #
First stable release.
azureOpenAI(deploymentId)factory — create language model instances for Azure-hosted OpenAI models.azureOpenAIEmbedding(deploymentId)— text embedding models via Azure OpenAI.- Configurable
resourceName,apiVersion, andapiKey. - Full SSE streaming with tool call delta accumulation.
- Tool choice mapping: auto / required / none / specific.
response_formatstructured output forwarding.