Skip to content

Commit 58b6948

Browse files
committed
Remove Perplexity integration from the extension and all related configurations
1 parent cb13299 commit 58b6948

10 files changed

Lines changed: 12 additions & 288 deletions

File tree

‎README.md‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ Like all of Code Web Chat, the extension is [open-source](https://github.com/rob
7676
- Mistral
7777
- Open WebUI
7878
- OpenRouter
79-
- Perplexity
8079
- Qwen
8180
- Together
8281
- Yuanbao

‎packages/browser/src/content-scripts/send-prompt-content-script/chatbots/index.ts‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ export * from './openrouter'
1414
export * from './qwen'
1515
export * from './doubao'
1616
export * from './kimi'
17-
export * from './perplexity'
1817
export * from './together'
1918
export * from './yuanbao'
2019
export * from './z-ai'

‎packages/browser/src/content-scripts/send-prompt-content-script/chatbots/perplexity.ts‎

Lines changed: 0 additions & 211 deletions
This file was deleted.

‎packages/browser/src/content-scripts/send-prompt-content-script/send-prompt-content-script.ts‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ import {
2121
together,
2222
github_copilot,
2323
hugging_chat,
24-
perplexity,
2524
z_ai
2625
} from './chatbots'
2726

@@ -82,9 +81,6 @@ const is_doubao = current_url.startsWith(doubao_url)
8281
const kimi_url = 'https://www.kimi.com/'
8382
const is_kimi = current_url.startsWith(kimi_url)
8483

85-
const perplexity_url = 'https://www.perplexity.ai/'
86-
const is_perplexity = current_url.startsWith(perplexity_url)
87-
8884
const together_url = 'https://chat.together.ai/'
8985
const is_together = current_url.startsWith(together_url)
9086

@@ -127,8 +123,6 @@ if (is_ai_studio) {
127123
chatbot = yuanbao
128124
} else if (is_doubao) {
129125
chatbot = doubao
130-
} else if (is_perplexity) {
131-
chatbot = perplexity
132126
} else if (is_kimi) {
133127
chatbot = kimi
134128
} else if (is_together) {

‎packages/browser/src/manifest.json‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
"https://chat.mistral.ai/*",
4040
"http://openwebui/",
4141
"https://openrouter.ai/chat*",
42-
"https://www.perplexity.ai/*",
4342
"https://chat.qwen.ai/*",
4443
"https://chat.together.ai/",
4544
"https://yuanbao.tencent.com/chat*",

‎packages/shared/src/constants/chatbots.ts‎

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -178,32 +178,6 @@ export const CHATBOTS = {
178178
'disable-reasoning': 'Disable reasoning (for hybrid models)'
179179
}
180180
} as Chatbot,
181-
Perplexity: {
182-
url: 'https://www.perplexity.ai/',
183-
supports_url_override: true,
184-
url_override_label: 'Space URL',
185-
supported_options: {
186-
'with-reasoning': 'With reasoning',
187-
search: 'Search'
188-
},
189-
models: {
190-
'gpt-5.2': { label: 'GPT-5.2' },
191-
'claude-opus-4.5': { label: 'Claude Opus 4.5' },
192-
'gemini-3-pro': {
193-
label: 'Gemini 3 Pro',
194-
disabled_options: ['with-reasoning']
195-
},
196-
'gemini-3-flash': {
197-
label: 'Gemini 3 Flash'
198-
},
199-
'grok-4.1': { label: 'Grok 4.1' },
200-
'kimi-k2-thinking': {
201-
label: 'Kimi K2 Thinking',
202-
disabled_options: ['with-reasoning']
203-
},
204-
'claude-sonnet-4.5': { label: 'Claude Sonnet 4.5' }
205-
}
206-
} as Chatbot,
207181
Qwen: {
208182
url: 'https://chat.qwen.ai/',
209183
supports_url_override: true,

‎packages/ui/src/assets/icons/perplexity.svg‎

Lines changed: 0 additions & 8 deletions
This file was deleted.

‎packages/ui/src/components/editor/common/Icon/Icon.tsx‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ import LMArena from '../../../../assets/icons/lmarena.svg'
2121
import Mistral from '../../../../assets/icons/mistral.svg'
2222
import OpenRouter from '../../../../assets/icons/openrouter.svg'
2323
import OpenWebUI from '../../../../assets/icons/open-webui.svg'
24-
import Perplexity from '../../../../assets/icons/perplexity.svg'
2524
import Qwen from '../../../../assets/icons/qwen.svg'
2625
import Together from '../../../../assets/icons/together.svg'
2726
import Reddit from '../../../../assets/icons/reddit.svg'
@@ -54,7 +53,6 @@ export namespace Icon {
5453
| 'MISTRAL'
5554
| 'OPENROUTER'
5655
| 'OPEN_WEBUI'
57-
| 'PERPLEXITY'
5856
| 'QWEN'
5957
| 'TOGETHER'
6058
| 'REDDIT'
@@ -140,9 +138,6 @@ export const Icon: React.FC<Icon.Props> = ({ variant }) => {
140138
case 'OPEN_WEBUI':
141139
icon = <OpenWebUI />
142140
break
143-
case 'PERPLEXITY':
144-
icon = <Perplexity />
145-
break
146141
case 'QWEN':
147142
icon = <Qwen />
148143
break

‎packages/ui/src/components/editor/panel/Presets/Presets.tsx‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ export const chatbot_to_icon: Record<keyof typeof CHATBOTS, Icon.Variant> = {
2424
LMArena: 'LMARENA',
2525
'Open WebUI': 'OPEN_WEBUI',
2626
OpenRouter: 'OPENROUTER',
27-
Perplexity: 'PERPLEXITY',
2827
Qwen: 'QWEN',
2928
Together: 'TOGETHER',
3029
Yuanbao: 'YUANBAO',

0 commit comments

Comments
 (0)