continuedev / continuedev/continue

Citations for Perplexity Sonar models

Open
#4,512 5 comments 1 reaction 1 assignee View on GitHub

@sestinj is already working on this.

Since Mar 6, 2025.

kind:enhancement needs-triage priority:medium
Dominant language
TypeScript
Stars
36k
Forks
5.4k
PR merge metrics
No merged PRs in 30d

Description

Validations
  • I believe this is a way to improve. I'll try to join the Continue Discord for questions
  • I'm not able to find an open issue that requests the same enhancement
Problem

Perplexity can be setup via openai:

{
      "title": "Perplexity Sonar Pro",
      "provider": "openai",
      "apiKey": "",
      "apiBase": "https://api.perplexity.ai",
      "model": "sonar-pro"
    },

It's working, citations are visible as numbers:
Image

However the links cannot be found anywhere.

I have just made PR https://github.com/continuedev/continue/pull/4511 that show the links in the LLM output:

Image

Full solution would provide a dropdown for citations just like context items, and possibly numbers in the text replaced by links:

Image
Solution

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.