new-api/web/src/constants/channel.constants.js

175 lines
3.6 KiB
JavaScript
Raw Normal View History

/*
Copyright (C) 2025 QuantumNous
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
For commercial licensing, please contact support@quantumnous.com
*/
2023-04-23 15:42:23 +08:00
export const CHANNEL_OPTIONS = [
{ value: 1, color: 'green', label: 'OpenAI' },
2024-03-23 21:24:39 +08:00
{
value: 2,
color: 'light-blue',
2025-04-04 12:00:38 +08:00
label: 'Midjourney Proxy',
2024-03-23 21:24:39 +08:00
},
{
value: 5,
color: 'blue',
2025-04-04 12:00:38 +08:00
label: 'Midjourney Proxy Plus',
2024-03-23 21:24:39 +08:00
},
{
value: 36,
color: 'purple',
2025-04-04 12:00:38 +08:00
label: 'Suno API',
},
{ value: 4, color: 'grey', label: 'Ollama' },
2024-03-23 21:24:39 +08:00
{
value: 14,
color: 'indigo',
2025-04-04 12:00:38 +08:00
label: 'Anthropic Claude',
2024-03-23 21:24:39 +08:00
},
2024-04-23 11:44:40 +08:00
{
value: 33,
2024-04-23 12:19:23 +08:00
color: 'indigo',
2025-04-04 12:00:38 +08:00
label: 'AWS Claude',
2024-04-23 11:44:40 +08:00
},
{ value: 41, color: 'blue', label: 'Vertex AI' },
2024-03-23 21:24:39 +08:00
{
value: 3,
color: 'teal',
2025-04-04 12:00:38 +08:00
label: 'Azure OpenAI',
2024-03-23 21:24:39 +08:00
},
2024-04-24 18:49:56 +08:00
{
value: 34,
color: 'purple',
2025-04-04 12:00:38 +08:00
label: 'Cohere',
2024-04-24 18:49:56 +08:00
},
{ value: 39, color: 'grey', label: 'Cloudflare' },
{ value: 43, color: 'blue', label: 'DeepSeek' },
2024-03-23 21:24:39 +08:00
{
value: 15,
color: 'blue',
2025-04-04 12:00:38 +08:00
label: '百度文心千帆',
2024-03-23 21:24:39 +08:00
},
{
value: 46,
color: 'blue',
2025-04-04 12:00:38 +08:00
label: '百度文心千帆V2',
},
{
2024-03-23 21:24:39 +08:00
value: 17,
color: 'orange',
2025-04-04 12:00:38 +08:00
label: '阿里通义千问',
2024-03-23 21:24:39 +08:00
},
{
value: 18,
color: 'blue',
2025-04-04 12:00:38 +08:00
label: '讯飞星火认知',
2024-03-23 21:24:39 +08:00
},
{
value: 16,
color: 'violet',
label: '智谱 ChatGLM已经弃用请使用智谱 GLM-4V',
2024-03-23 21:24:39 +08:00
},
{
value: 26,
color: 'purple',
2025-04-04 12:00:38 +08:00
label: '智谱 GLM-4V',
2024-03-23 21:24:39 +08:00
},
2024-12-05 17:50:08 +08:00
{
value: 24,
color: 'orange',
2025-04-04 12:00:38 +08:00
label: 'Google Gemini',
2024-12-05 17:50:08 +08:00
},
2024-05-16 19:06:35 +08:00
{
value: 11,
color: 'orange',
2025-04-04 12:00:38 +08:00
label: 'Google PaLM2',
2024-05-16 19:06:35 +08:00
},
{
value: 47,
color: 'blue',
2025-04-04 12:00:38 +08:00
label: 'Xinference',
},
{ value: 25, color: 'green', label: 'Moonshot' },
{ value: 20, color: 'green', label: 'OpenRouter' },
{ value: 19, color: 'blue', label: '360 智脑' },
{ value: 23, color: 'teal', label: '腾讯混元' },
{ value: 31, color: 'green', label: '零一万物' },
{ value: 35, color: 'green', label: 'MiniMax' },
{ value: 37, color: 'teal', label: 'Dify' },
{ value: 38, color: 'blue', label: 'Jina' },
{ value: 40, color: 'purple', label: 'SiliconCloud' },
{ value: 42, color: 'blue', label: 'Mistral AI' },
{ value: 8, color: 'pink', label: '自定义渠道' },
{
2024-03-23 21:24:39 +08:00
value: 22,
color: 'blue',
2025-04-04 12:00:38 +08:00
label: '知识库FastGPT',
2024-03-23 21:24:39 +08:00
},
{
value: 21,
color: 'purple',
2025-04-04 12:00:38 +08:00
label: '知识库AI Proxy',
2025-01-22 04:21:08 +08:00
},
{
value: 44,
2025-01-22 04:21:08 +08:00
color: 'purple',
2025-04-04 12:00:38 +08:00
label: '嵌入模型MokaAI M3E',
},
{
value: 45,
color: 'blue',
label: '字节火山方舟、豆包通用',
},
{
value: 48,
color: 'blue',
2025-05-15 20:00:59 +08:00
label: 'xAI',
},
{
value: 49,
color: 'blue',
label: 'Coze',
},
2025-06-08 21:40:57 +08:00
{
value: 50,
color: 'green',
label: '可灵',
},
2025-06-20 15:50:00 +08:00
{
value: 51,
color: 'blue',
label: '即梦',
},
2025-09-08 16:21:21 +08:00
{
value: 52,
2025-07-23 10:22:52 +08:00
color: 'purple',
label: 'Vidu',
},
{
value: 53,
2025-09-08 16:21:21 +08:00
color: 'blue',
label: 'SubModel',
},
2025-10-02 01:03:20 +08:00
{
value: 54,
color: 'blue',
label: '豆包视频',
},
2023-12-05 18:15:40 +08:00
];
export const MODEL_TABLE_PAGE_SIZE = 10;