Skip to content

Commit bcbf1b1

Browse files
committed
Remove Minimax chatbot support and related files
1 parent cc5a623 commit bcbf1b1

10 files changed

Lines changed: 28 additions & 131 deletions

File tree

‎README.md‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ Install the [open-source](https://github.com/robertpiosik/CodeWebChat/blob/dev/p
8585
- HuggingChat
8686
- Kimi
8787
- LMArena
88-
- Minimax
8988
- Mistral
9089
- Open WebUI
9190
- OpenRouter

‎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
@@ -8,7 +8,6 @@ export * from './grok'
88
export * from './github-copilot'
99
export * from './hugging-chat'
1010
export * from './lmarena'
11-
export * from './minimax'
1211
export * from './mistral'
1312
export * from './open-webui'
1413
export * from './openrouter'

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

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

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

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ import {
2121
together,
2222
github_copilot,
2323
hugging_chat,
24-
minimax,
2524
perplexity,
2625
z_ai
2726
} from './chatbots'
@@ -74,9 +73,6 @@ const is_hugging_chat = current_url.startsWith(hugging_chat_url)
7473
const lmarena_url = 'https://lmarena.ai/'
7574
const is_lmarena = current_url.startsWith(lmarena_url)
7675

77-
const minimax_url = 'https://agent.minimax.io/'
78-
const is_minimax = current_url.startsWith(minimax_url)
79-
8076
const grok_url = 'https://grok.com/'
8177
const is_grok = current_url.startsWith(grok_url)
8278

@@ -115,8 +111,6 @@ if (is_ai_studio) {
115111
chatbot = hugging_chat
116112
} else if (is_lmarena) {
117113
chatbot = lmarena
118-
} else if (is_minimax) {
119-
chatbot = minimax
120114
} else if (is_mistral) {
121115
chatbot = mistral
122116
} else if (is_open_webui) {
@@ -159,7 +153,6 @@ export const get_textarea_element = () => {
159153
[z_ai_url]: 'textarea',
160154
[github_copilot_url]: 'textarea',
161155
[hugging_chat_url]: 'textarea',
162-
[minimax_url]: 'textarea',
163156
[lmarena_url]: 'textarea'
164157
} as any
165158

‎packages/browser/src/manifest.json‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
"https://huggingface.co/chat/",
3838
"https://lmarena.ai/",
3939
"https://www.kimi.com/",
40-
"https://agent.minimax.io/",
4140
"https://chat.mistral.ai/*",
4241
"http://openwebui/",
4342
"https://openrouter.ai/chat*",

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,6 @@ export const CHATBOTS = {
153153
LMArena: {
154154
url: 'https://lmarena.ai/'
155155
} as Chatbot,
156-
Minimax: {
157-
url: 'https://agent.minimax.io/'
158-
} as Chatbot,
159156
Mistral: {
160157
url: 'https://chat.mistral.ai/chat',
161158
supports_url_override: true,

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

Lines changed: 0 additions & 5 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 Minimax from '../../../../assets/icons/minimax.svg'
2322
import Mistral from '../../../../assets/icons/mistral.svg'
2423
import OpenRouter from '../../../../assets/icons/openrouter.svg'
2524
import OpenWebUI from '../../../../assets/icons/open-webui.svg'
@@ -53,7 +52,6 @@ export namespace Icon {
5352
| 'HUGGING_CHAT'
5453
| 'KIMI'
5554
| 'LMARENA'
56-
| 'MINIMAX'
5755
| 'MISTRAL'
5856
| 'OPENROUTER'
5957
| 'OPEN_WEBUI'
@@ -136,9 +134,6 @@ export const Icon: React.FC<Icon.Props> = ({ variant }) => {
136134
case 'LMARENA':
137135
icon = <LMArena />
138136
break
139-
case 'MINIMAX':
140-
icon = <Minimax />
141-
break
142137
case 'MISTRAL':
143138
icon = <Mistral />
144139
break

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ export const chatbot_to_icon: Record<keyof typeof CHATBOTS, Icon.Variant> = {
2020
Grok: 'GROK',
2121
HuggingChat: 'HUGGING_CHAT',
2222
Kimi: 'KIMI',
23-
Minimax: 'MINIMAX',
2423
Mistral: 'MISTRAL',
2524
LMArena: 'LMARENA',
2625
'Open WebUI': 'OPEN_WEBUI',

‎packages/vscode/package.json‎

Lines changed: 28 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -643,38 +643,34 @@
643643
},
644644
{
645645
"name": "(13)",
646-
"chatbot": "Minimax"
647-
},
648-
{
649-
"name": "(14)",
650646
"chatbot": "Mistral"
651647
},
652648
{
653-
"name": "(15)",
649+
"name": "(14)",
654650
"chatbot": "Open WebUI"
655651
},
656652
{
657-
"name": "(16)",
653+
"name": "(15)",
658654
"chatbot": "OpenRouter"
659655
},
660656
{
661-
"name": "(17)",
657+
"name": "(16)",
662658
"chatbot": "Perplexity"
663659
},
664660
{
665-
"name": "(18)",
661+
"name": "(17)",
666662
"chatbot": "Qwen"
667663
},
668664
{
669-
"name": "(19)",
665+
"name": "(18)",
670666
"chatbot": "Together"
671667
},
672668
{
673-
"name": "(20)",
669+
"name": "(19)",
674670
"chatbot": "Yuanbao"
675671
},
676672
{
677-
"name": "(21)",
673+
"name": "(20)",
678674
"chatbot": "Z.AI"
679675
},
680676
{}
@@ -810,38 +806,34 @@
810806
},
811807
{
812808
"name": "(13)",
813-
"chatbot": "Minimax"
814-
},
815-
{
816-
"name": "(14)",
817809
"chatbot": "Mistral"
818810
},
819811
{
820-
"name": "(15)",
812+
"name": "(14)",
821813
"chatbot": "Open WebUI"
822814
},
823815
{
824-
"name": "(16)",
816+
"name": "(15)",
825817
"chatbot": "OpenRouter"
826818
},
827819
{
828-
"name": "(17)",
820+
"name": "(16)",
829821
"chatbot": "Perplexity"
830822
},
831823
{
832-
"name": "(18)",
824+
"name": "(17)",
833825
"chatbot": "Qwen"
834826
},
835827
{
836-
"name": "(19)",
828+
"name": "(18)",
837829
"chatbot": "Together"
838830
},
839831
{
840-
"name": "(20)",
832+
"name": "(19)",
841833
"chatbot": "Yuanbao"
842834
},
843835
{
844-
"name": "(21)",
836+
"name": "(20)",
845837
"chatbot": "Z.AI"
846838
},
847839
{}
@@ -977,38 +969,34 @@
977969
},
978970
{
979971
"name": "(13)",
980-
"chatbot": "Minimax"
981-
},
982-
{
983-
"name": "(14)",
984972
"chatbot": "Mistral"
985973
},
986974
{
987-
"name": "(15)",
975+
"name": "(14)",
988976
"chatbot": "Open WebUI"
989977
},
990978
{
991-
"name": "(16)",
979+
"name": "(15)",
992980
"chatbot": "OpenRouter"
993981
},
994982
{
995-
"name": "(17)",
983+
"name": "(16)",
996984
"chatbot": "Perplexity"
997985
},
998986
{
999-
"name": "(18)",
987+
"name": "(17)",
1000988
"chatbot": "Qwen"
1001989
},
1002990
{
1003-
"name": "(19)",
991+
"name": "(18)",
1004992
"chatbot": "Together"
1005993
},
1006994
{
1007-
"name": "(20)",
995+
"name": "(19)",
1008996
"chatbot": "Yuanbao"
1009997
},
1010998
{
1011-
"name": "(21)",
999+
"name": "(20)",
10121000
"chatbot": "Z.AI"
10131001
},
10141002
{}
@@ -1116,38 +1104,34 @@
11161104
},
11171105
{
11181106
"name": "(13)",
1119-
"chatbot": "Minimax"
1120-
},
1121-
{
1122-
"name": "(14)",
11231107
"chatbot": "Mistral"
11241108
},
11251109
{
1126-
"name": "(15)",
1110+
"name": "(14)",
11271111
"chatbot": "Open WebUI"
11281112
},
11291113
{
1130-
"name": "(16)",
1114+
"name": "(15)",
11311115
"chatbot": "OpenRouter"
11321116
},
11331117
{
1134-
"name": "(17)",
1118+
"name": "(16)",
11351119
"chatbot": "Perplexity"
11361120
},
11371121
{
1138-
"name": "(18)",
1122+
"name": "(17)",
11391123
"chatbot": "Qwen"
11401124
},
11411125
{
1142-
"name": "(19)",
1126+
"name": "(18)",
11431127
"chatbot": "Together"
11441128
},
11451129
{
1146-
"name": "(20)",
1130+
"name": "(19)",
11471131
"chatbot": "Yuanbao"
11481132
},
11491133
{
1150-
"name": "(21)",
1134+
"name": "(20)",
11511135
"chatbot": "Z.AI"
11521136
},
11531137
{}

0 commit comments

Comments
 (0)