Skip to content

Commit feaa3b2

Browse files
committed
Remove all support for the Meta chatbot due to issues with code block copying
1 parent 0df610a commit feaa3b2

6 files changed

Lines changed: 0 additions & 195 deletions

File tree

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

Lines changed: 0 additions & 162 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
@@ -8,7 +8,6 @@ import {
88
chatgpt,
99
copilot,
1010
claude,
11-
meta,
1211
mistral,
1312
open_webui,
1413
deepseek,
@@ -78,9 +77,6 @@ const is_lmarena = current_url.startsWith(lmarena_url)
7877
const minimax_url = 'https://agent.minimax.io/'
7978
const is_minimax = current_url.startsWith(minimax_url)
8079

81-
const meta_url = 'https://www.meta.ai/'
82-
const is_meta = current_url.startsWith(meta_url)
83-
8480
const grok_url = 'https://grok.com/'
8581
const is_grok = current_url.startsWith(grok_url)
8682

@@ -145,8 +141,6 @@ if (is_ai_studio) {
145141
chatbot = together
146142
} else if (is_z_ai) {
147143
chatbot = z_ai
148-
} else if (is_meta) {
149-
chatbot = meta
150144
}
151145

152146
export const get_textarea_element = () => {

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

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -166,20 +166,6 @@ export const CHATBOTS = {
166166
think: 'Think'
167167
}
168168
} as Chatbot,
169-
// Not supported until they fix code blocks in copied chat responses
170-
// Meta: {
171-
// url: 'https://www.meta.ai/',
172-
// supports_custom_temperature: false,
173-
// supports_custom_top_p: false,
174-
// supports_system_instructions: false,
175-
// supports_user_provided_model: false,
176-
// supports_user_provided_port: false,
177-
// supports_thinking_budget: false,
178-
// default_system_instructions: '',
179-
// supported_options: {},
180-
// default_top_p: 0,
181-
// models: {}
182-
// },
183169
'Open WebUI': {
184170
url: 'http://openwebui/',
185171
supports_custom_temperature: true,

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

Lines changed: 0 additions & 7 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
@@ -19,7 +19,6 @@ import HashSign from '../../../../assets/icons/hash-sign.svg'
1919
import HuggingChat from '../../../../assets/icons/hugging-chat.svg'
2020
import Kimi from '../../../../assets/icons/kimi.svg'
2121
import LMArena from '../../../../assets/icons/lmarena.svg'
22-
import Meta from '../../../../assets/icons/meta.svg'
2322
import Minimax from '../../../../assets/icons/minimax.svg'
2423
import Mistral from '../../../../assets/icons/mistral.svg'
2524
import OpenRouter from '../../../../assets/icons/openrouter.svg'
@@ -54,7 +53,6 @@ export namespace Icon {
5453
| 'HUGGING_CHAT'
5554
| 'KIMI'
5655
| 'LMARENA'
57-
| 'META'
5856
| 'MINIMAX'
5957
| 'MISTRAL'
6058
| 'OPENROUTER'
@@ -138,9 +136,6 @@ export const Icon: React.FC<Icon.Props> = ({ variant }) => {
138136
case 'LMARENA':
139137
icon = <LMArena />
140138
break
141-
case 'META':
142-
icon = <Meta />
143-
break
144139
case 'MINIMAX':
145140
icon = <Minimax />
146141
break

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ export const chatbot_to_icon: Record<keyof typeof CHATBOTS, Icon.Variant> = {
2323
Minimax: 'MINIMAX',
2424
Mistral: 'MISTRAL',
2525
LMArena: 'LMARENA',
26-
// Meta: 'META',
2726
'Open WebUI': 'OPEN_WEBUI',
2827
OpenRouter: 'OPENROUTER',
2928
Perplexity: 'PERPLEXITY',

0 commit comments

Comments
 (0)