Add 01.AI relay

This commit is contained in:
Maple Gao
2024-03-20 23:44:03 +08:00
committed by GitHub
parent c7658b70d1
commit cfabf8a656
7 changed files with 35 additions and 0 deletions

View File

@@ -15,6 +15,7 @@ export const CHANNEL_OPTIONS = [
{key: 16, text: 'Moonshot', value: 25, color: 'green', label: 'Moonshot'},
{key: 19, text: '360 智脑', value: 19, color: 'blue', label: '360 智脑'},
{key: 23, text: '腾讯混元', value: 23, color: 'teal', label: '腾讯混元'},
{key: 31, text: '零一万物', value: 31, color: 'green', label: '零一万物'},
{key: 8, text: '自定义渠道', value: 8, color: 'pink', label: '自定义渠道'},
{key: 22, text: '知识库FastGPT', value: 22, color: 'blue', label: '知识库FastGPT'},
{key: 21, text: '知识库AI Proxy', value: 21, color: 'purple', label: '知识库AI Proxy'},

View File

@@ -95,6 +95,9 @@ const EditChannel = (props) => {
case 26:
localModels = ['glm-4', 'glm-4v', 'glm-3-turbo'];
break;
case 31:
localModels = ['yi-34b-chat-0205', 'yi-34b-chat-200k', 'yi-vl-plus'];
break;
case 2:
localModels = ['mj_imagine', 'mj_variation', 'mj_reroll', 'mj_blend', 'mj_upscale', 'mj_describe'];
break;