fix(providers): update Perplexity Web models - #6106
diegosouzapw merged 3 commits into
Conversation
There was a problem hiding this comment.
Code Review
This pull request updates the Perplexity Web provider registry and executor configuration. It updates existing model names and mappings (transitioning modes from 'copilot' to 'search'), adds support for new models like GPT-5.4 and GLM-5.2, and updates the corresponding unit tests to reflect these changes, including a new test to ensure all advertised models have explicit internal mappings. I have no feedback to provide.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
40034d9 to
95a584c
Compare
Co-authored-by: diegosouzapw <diegosouza.pw@gmail.com>
caeee89
into
diegosouzapw:release/v3.8.44
…diegosouzapw#6095 Co-authored-by: diegosouzapw <diegosouza.pw@gmail.com>
|
i think we need to update it again, Perplexity Web provider catalog to |
Confirmed, I will start soon. |
Refresh the Perplexity Web model catalog + mode/model_preference mappings to the current live set. Regression guard: perplexity-web.test.ts. Co-authored-by: diegosouzapw <diegosouza.pw@gmail.com>
Summary
Related Issues
Validation
npm run lintnpm run test:unitnpm run test:coverage>= 60%for statements, lines, functions, and branchesnode --import tsx/esm --test tests/unit/perplexity-web.test.tsnode --import tsx/esm --test tests/unit/perplexity-web-streaming-tools-5927.test.ts tests/unit/perplexity-web-executor-split.test.ts tests/unit/perplexity-tls-client.test.tsnode --import tsx/esm --test tests/unit/provider-validation-specialty.test.tsnpm run check:provider-consistencynpm run typecheck:corenpx prettier --check open-sse/config/providers/registry/perplexity/web/index.ts open-sse/executors/perplexity-web.ts open-sse/executors/perplexity-web/protocol.ts tests/unit/perplexity-web.test.tsgit diff --checkTests Added Or Updated
tests/unit/perplexity-web.test.tsCoverage Notes
tests/unit/perplexity-web.test.ts, which verifies the current GPT-5.5 preference, thinking-mode search payload, the 10-model registry, and explicit MODEL_MAP coverage for every advertised Perplexity Web model.npm run test:unitwas rerun before PR creation but did not complete cleanly: the official concurrency-20 run hit an esbuild Go runtime OOM and unrelated unit failures, and a lower-concurrency retry reproduced the unrelatedagy Project ID UI support > uses isAntigravityFamily for antigravityClientProfile UIfailure before being stopped after confirmation.Reviewer Notes
model_preferencevalues were checked against the livehttps://www.perplexity.ai/rest/models/config?config_schema=v1response on 2026-07-03.copilot) to avoid widening behavior outside advertised Perplexity Web models.