how to get citations/sources from mastra perplexity provider

https://mastra.ai/models/providers/perplexity can't seem to access sources/citations in any way
Perplexity | Models | Mastra | Mastra Docs
Use Perplexity models with Mastra. 4 models available.
6 Replies
Mastra Triager
Mastra Triagerโ€ข3d ago
๐Ÿ“ Created GitHub issue: https://github.com/mastra-ai/mastra/issues/10861 ๐Ÿ” If you're experiencing an error, please provide a minimal reproducible example whenever possible to help us resolve it quickly. ๐Ÿ™ Thank you for helping us improve Mastra!
Abhi Aiyer
Abhi Aiyerโ€ข3d ago
Hey @andrewhong5297 | Herd.eco ! I got you! ill fix this in todays release
_roamin_
_roamin_โ€ข3d ago
Looks like someone already opened a PR for this https://github.com/mastra-ai/mastra/pull/10885
GitHub
feat: add native Perplexity provider support by eabnelson ยท Pull R...
Fixes #10861 Adds full native support for Perplexity models by routing them through the @ai-sdk/perplexity provider instead of the OpenAI-compatible fallback. Why this change? The OpenAI-compatible...
_roamin_
_roamin_โ€ข3d ago
I guess it's already reviewed ๐Ÿ‘€
Abhi Aiyer
Abhi Aiyerโ€ข3d ago
We're moving fast lol
andrewhong5297 | Herd.eco
Haha yes erik is on our team ๐Ÿ™‚ Thanks for getting this in today

Did you find this page helpful?