Skip to content

@ai-sdk/perplexity@3.1.0

Choose a tag to compare

@github-actions github-actions released this 27 Sep 03:24
· 2610 commits to main since this release
5da12f6

Minor Changes

  • 289e3cf: BREAKING: Migrate language generation from the Sonar Chat Completions API (supported by Perplexity only until September 27, 2026) to the Agent API. Replace Sonar model IDs and provider options with Agent API presets, models, and tools. The new API changes request and response metadata, raw stream events, usage and cost data, and does not support Sonar PDF input or image and video results. Reasoning effort is configured through providerOptions.perplexity.reasoning. Embeddings are unchanged. Agent API stream events with null fields are accepted.

Patch Changes

  • Updated dependencies [3983fea]
    • @ai-sdk/provider@3.0.18
    • @ai-sdk/provider-utils@4.0.55