The Vercel AI SDK has released version 7.0.104, which includes several updates across its packages, such as @ai-sdk/zai@3.0.13, @ai-sdk/workflow-harness@1.0.114, @ai-sdk/xai@5.0.2, and @ai-sdk/vue@4.0.104. These updates introduce new features for model evaluation and tool integration.
Key Points
- The Vercel AI SDK now includes experimental evaluation model aliases and registry resolution.
- The
customProviderfunction acceptsevaluationModelsfor configuration. - Registries now expose
evaluationModelfor access. - The
experimental_evaluatefunction accepts string IDs when an evaluation-capable default provider is explicitly configured. - Evaluation will not implicitly fall back to Gateway.
- Model-resolution errors now identify
evaluationModel. - The SDK supports tool search with direct tool calling.
- A native tool search tool has been added.
Context
According to the Vercel AI SDK Changelog, these changes aim to provide more granular control over model evaluation and improve the integration of tools within applications. The updates ensure that stable provider contracts remain unchanged while introducing experimental features for developers to explore.
Why It Matters
These updates offer developers new ways to evaluate models and integrate external tools directly within their applications built with the Vercel AI SDK. The explicit configuration for evaluation models and the prevention of implicit fallback to Gateway provide more predictable behavior for model assessment.
What To Do
- Review the Vercel AI SDK Changelog for ai@7.0.104 to understand the full scope of changes.
- Test the
experimental_evaluatefunction with string IDs if you are using an evaluation-capable default provider. - Explore the new tool search capabilities, including direct tool calling and the native tool search tool.
- Note how
customProvidernow acceptsevaluationModelsand how registries exposeevaluationModel.
