Skip to content

Minimal reproduction for testing whether Perplexity citation/source data is forwarded through the Vercel AI Gateway via `streamText`.

Notifications You must be signed in to change notification settings

vercel-support/test-ai-gateway-perplexity-citations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

AI Gateway — Perplexity Sources Repro

Minimal reproduction for testing whether Perplexity citation/source data is forwarded through the Vercel AI Gateway via streamText.

Setup

pnpm install

Run

node test.mjs <AI_GATEWAY_API_KEY>

The script streams a response from perplexity/sonar through the AI Gateway and reports whether source parts appear in fullStream and result.sources.

Versions

  • ai@6.0.50
  • @ai-sdk/gateway@3.0.23

About

Minimal reproduction for testing whether Perplexity citation/source data is forwarded through the Vercel AI Gateway via `streamText`.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published