Vercel's AI SDK has received updates across several packages, including changes to its sandbox functionality and expanded model support for Google Vertex. These updates were released on August 14.
Key Points
- The
@ai-sdk/sandbox-just-bash@1.0.72and@ai-sdk/sandbox-vercel@1.0.72packages now includegetPortEndpoint(). getPortEndpoint()is a more comprehensive replacement for the deprecatedgetPortUrl()withinHarnessV1NetworkSandboxSession.- The
@ai-sdk/sandbox-vercel@1.0.72update also supports request transformations in the network sandbox abstraction. - This transformation capability is used to apply credential brokering when available.
- The
@ai-sdk/google-vertex@4.0.182package adds support for the Gemini 3.7 Flash model. - The
@ai-sdk/xai@3.0.121package introduces support for Grok Imagine Video 1.5. - Grok Imagine Video 1.5 supports native 1080p for text-to-video and image-to-video, with reference-to-video capped at 720p.
Context
According to Vercel's AI SDK changelog, the getPortEndpoint() feature was added to the harness component, which is a dependency for both @ai-sdk/sandbox-just-bash and @ai-sdk/sandbox-vercel. The integration of Gemini 3.7 Flash expands the range of models available through the Google Vertex provider. Additionally, the xAI provider now supports Grok Imagine Video 1.5, enhancing video generation capabilities.
Why It Matters
These updates provide developers using the Vercel AI SDK with enhanced sandbox networking capabilities and access to newer models from Google and xAI. The deprecation of getPortUrl() indicates a shift towards a more robust endpoint management system, while new model integrations expand the creative and functional possibilities for AI-powered applications.
What To Do
- Developers using
getPortUrl()inHarnessV1NetworkSandboxSessionshould transition togetPortEndpoint(). - Review the updated
@ai-sdk/harnessdocumentation for details ongetPortEndpoint()and network sandbox request transformations. - Explore the Gemini 3.7 Flash model via the
@ai-sdk/google-vertexpackage for new application possibilities. - Investigate the Grok Imagine Video 1.5 model in
@ai-sdk/xaifor video generation tasks, noting the resolution capabilities and limitations.
