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:
@@ -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