Roo-Code/packages/types
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
..
npm Release: v1.115.0 (#11833) 2026-03-02 13:35:52 -08:00
scripts feat: add correct JSON schema for .roomodes configuration files (#11791) 2026-04-08 16:37:14 -06:00
src feat: add Perplexity as a first-class API provider 2026-05-17 10:33:06 +00:00
.gitignore Task metadata (#7092) 2025-08-14 03:14:17 -07:00
CHANGELOG.md Changeset version bump (#12085) 2026-04-08 15:16:12 -06:00
eslint.config.mjs Task metadata (#7092) 2025-08-14 03:14:17 -07:00
package.json feat: add correct JSON schema for .roomodes configuration files (#11791) 2026-04-08 16:37:14 -06:00
tsconfig.json Task metadata (#7092) 2025-08-14 03:14:17 -07:00
tsup.config.ts Bump @roo-code/types to v1.42.0 (#6610) 2025-08-02 13:27:59 -07:00
vitest.config.ts Convert jest tests to vitest and disable default watch mode for vitest (#4568) 2025-06-11 14:48:01 -07:00