mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-11-12 11:23:42 +08:00
feat: 支持CozeV3
This commit is contained in:
@@ -22,6 +22,7 @@ export const CHANNEL_OPTIONS = [
|
||||
{ key: 31, text: '零一万物', value: 31, color: 'green' },
|
||||
{ key: 32, text: '阶跃星辰', value: 32, color: 'blue' },
|
||||
{ key: 34, text: 'Coze', value: 34, color: 'blue' },
|
||||
{ key: 47, text: 'CozeV3', value: 47, color: 'blue' },
|
||||
{ key: 35, text: 'Cohere', value: 35, color: 'blue' },
|
||||
{ key: 36, text: 'DeepSeek', value: 36, color: 'black' },
|
||||
{ key: 37, text: 'Cloudflare', value: 37, color: 'orange' },
|
||||
|
||||
@@ -137,6 +137,12 @@ export const CHANNEL_OPTIONS = {
|
||||
value: 34,
|
||||
color: 'primary'
|
||||
},
|
||||
47: {
|
||||
key: 47,
|
||||
text: 'CozeV3',
|
||||
value: 47,
|
||||
color: 'primary'
|
||||
},
|
||||
35: {
|
||||
key: 35,
|
||||
text: 'Cohere',
|
||||
@@ -185,7 +191,7 @@ export const CHANNEL_OPTIONS = {
|
||||
value: 45,
|
||||
color: 'primary'
|
||||
},
|
||||
45: {
|
||||
46: {
|
||||
key: 46,
|
||||
text: 'Replicate',
|
||||
value: 46,
|
||||
|
||||
@@ -206,6 +206,20 @@ const typeConfig = {
|
||||
},
|
||||
modelGroup: 'Coze'
|
||||
},
|
||||
47: {
|
||||
inputLabel: {
|
||||
config: {
|
||||
user_id: 'User ID'
|
||||
}
|
||||
},
|
||||
prompt: {
|
||||
models: '对于 CozeV3 而言,模型名称即 Bot ID,你可以添加一个前缀 `bot-`,例如:`bot-123456`',
|
||||
config: {
|
||||
user_id: '生成该密钥的用户 ID'
|
||||
}
|
||||
},
|
||||
modelGroup: 'CozeV3'
|
||||
},
|
||||
42: {
|
||||
inputLabel: {
|
||||
key: '',
|
||||
|
||||
Reference in New Issue
Block a user