Roo-Code/packages
james-pplx 16e37607d0 feat: add Perplexity as a first-class API provider
Introduce a new Perplexity provider that targets Perplexity's
OpenAI-compatible chat-completions endpoint at https://api.perplexity.ai.
Models exposed: sonar, sonar-pro, sonar-reasoning, sonar-reasoning-pro
(all 128k context).

API key resolution order:
  1. perplexityApiKey from settings
  2. PERPLEXITY_API_KEY env var
  3. PPLX_API_KEY env var (fallback)

Wired into the provider registry (packages/types), api factory,
profile validation, webview settings UI, model picker, validation,
and English locale strings.

Tests cover construction, base URL/auth, env-var fallbacks, model
selection, streaming, and error propagation.
2026-05-17 10:33:06 +00:00
..
build Custom tool calling (#10083) 2025-12-21 12:43:06 -08:00
config-eslint Upgrade to ESLint 9 + share eslint config across workspaces (#3815) 2025-05-21 21:30:21 -07:00
config-typescript Move @roo-code/cloud to the Roo-Code repo (#7503) 2025-08-28 11:18:45 -07:00
core Changeset version bump (#12085) 2026-04-08 15:16:12 -06:00
ipc Remove Roo Code Cloud and evals (#12328) 2026-05-11 22:43:45 -04:00
types feat: add Perplexity as a first-class API provider 2026-05-17 10:33:06 +00:00
vscode-shim Some cleanup in ExtensionHost (#10600) 2026-01-10 02:29:33 -08:00