Right now, Perplexity Sonar is failing to return citations, and I have the fix.
The Perplexity Sonar API returns source citations with every response as separate top-level fields (citations and search_results) alongside the message content. Pickaxe currently does not display them. End users see bare markers like [1] in the response text with no source list attached.
This makes Sonar models hard to use for research-style tools. The grounding sources are the main reason to choose Sonar over other models, and the data is already included in every API response Pickaxe receives. It just is not rendered.
This is a known integration gap for platforms that pass Perplexity through generic OpenAI-compatible handling, and other platforms have already hit and addressed it:
- Vercel AI Gateway issue #9164 documents citations present when calling Perplexity directly but dropped by the compatibility layer
- Open WebUI discussion #11212 describes the same bare [1][2] markers and a community fix to render the source list
- Continue issue #4512 is the same enhancement request, with a PR that surfaces the links in the output
Perplexity’s own documentation confirms citations are returned by default on all requests and recommends reading URLs from the citation fields rather than asking the model to write them in prose (Sonar Prompt Guide). Since Pickaxe does not surface those fields, builders are pushed toward prompting the model to write URLs into the response text, which is exactly what Perplexity advises against.
Request: When a Sonar model is selected, render the citations array as a numbered source list below the response, ideally with clickable links. Bonus points for mapping the inline [1] markers to the corresponding sources, and for showing the source list in Message Insights alongside the existing token and action data.
Use case: I run a suite of AI tools for authors. One tool performs comparable-title research where every recommended book needs a verifiable source link. Sonar’s grounding quality is excellent and the per-run cost is a fraction of tool-loop alternatives, but without the citations rendering, the output ships without the links that make it trustworthy and usable.
