Agents
Perplexity's Sonar API shuts off 27 September, and Vercel AI SDK ships a breaking @ai-sdk/perplexity 5.0.0 that moves to the Agent API
Vercel published @ai-sdk/perplexity 5.0.0 on 26 September. It replaces Sonar model IDs and provider options with Agent API presets, models and tools, changes stream events and usage/cost metadata, and drops Sonar PDF input and image and video results. Perplexity launched the Agent API on 13 August as one endpoint for web search, fetch_url, code execution, MCP connections and finance search, with max_steps and models from multiple providers, and supports Sonar only until 27 September. Any agent that calls Sonar through the AI SDK needs this upgrade and a field remap before tomorrow, and Dify and Bifrost still have open migration issues.
↳ Follow the thread