Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Citations made visible in the output for Perplexity Sonar research models #4511

Merged
merged 1 commit into from
Mar 8, 2025

Conversation

ferenci84
Copy link
Contributor

@ferenci84 ferenci84 commented Mar 6, 2025

Description

Perplexity Sonar Pro can be set up via OpenAI provider, but it's citations cannot be visible.

This modification adds the citations into the LLM log.

Checklist

  • The relevant docs, if any, have been updated or created
  • The relevant tests, if any, have been updated or created

Screenshots

[ For visual changes, include screenshots. ]

Testing instructions

Config to Perplexity Sonar Pro:

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

Citations will be visible in the LLM output tab.

Issue for more context: #4512

This is a partial solution of the issue not including UI changes.

Copy link

netlify bot commented Mar 6, 2025

Deploy Preview for continuedev ready!

Name Link
🔨 Latest commit 6bc0bfc
🔍 Latest deploy log https://app.netlify.com/sites/continuedev/deploys/67c9a09a76210900080b3350
😎 Deploy Preview https://deploy-preview-4511--continuedev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@sestinj sestinj merged commit 22e4684 into continuedev:main Mar 8, 2025
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants