🔖 chore: Update model test tips
This commit is contained in:
parent
9bb90df5c1
commit
fc51dffaca
@ -610,7 +610,8 @@
|
||||
",一行一个密钥": ". One key per line",
|
||||
"批量添加": "Batch Add",
|
||||
"是否启用": "Enable",
|
||||
"点击测速": "Click to test speed",
|
||||
"点击测速(仅支持chat模型)": "Click to test speed(Only support chat model)",
|
||||
"仅支持chat模型": "Only support chat model",
|
||||
"上次测速时间:": "Last test time:",
|
||||
"未测试": "Not tested",
|
||||
"手动": "Manual",
|
||||
@ -656,7 +657,7 @@
|
||||
"可空,请输入中转API地址,例如通过cloudflare中转": "Optional, please enter the transfer API address, for example, through cloudflare transfer",
|
||||
"请输入渠道对应的鉴权密钥": "Please enter the authentication key corresponding to the channel",
|
||||
"单独设置代理地址,支持http和socks5,例如:http://127.0.0.1:1080": "Set the proxy address separately, support http and socks5, for example: http://127.0.0.1:1080",
|
||||
"用于测试使用的模型,为空时无法测速,如:gpt-3.5-turbo": "The model used for testing, cannot be tested when empty, such as: gpt-3.5-turbo",
|
||||
"用于测试使用的模型,为空时无法测速,如:gpt-3.5-turbo,仅支持chat模型": "The model used for testing, cannot be tested when empty, such as: gpt-3.5-turbo,Only support chat model.",
|
||||
"请选择该渠道所支持的模型,你也可以输入通配符*来匹配模型,例如:gpt-3.5*,表示支持所有gpt-3.5开头的模型,*号只能在最后一位使用,前面必须有字符,例如:gpt-3.5*是正确的,*gpt-3.5是错误的": "Please select the models supported by the channel. You can also enter the wildcard * to match the model, for example: gpt-3.5*, which means that all models starting with gpt-3.5 are supported. The * can only be used in the last position, and there must be characters in front of it. For example: gpt-3.5* is correct, *gpt-3.5 is incorrect",
|
||||
"请输入要修改的模型映射关系,格式为:api请求模型ID:实际转发给渠道的模型ID,使用JSON数组表示,例如:": "Please enter the model mapping relationship to be modified, the format is: api request model ID: model ID actually forwarded to the channel, represented by a JSON array, for example:",
|
||||
"请选择该渠道所支持的用户组": "Please select the user group supported by this channel",
|
||||
|
@ -21,7 +21,7 @@ const ResponseTimeLabel = ({ test_time, response_time, handle_action }) => {
|
||||
}
|
||||
let title = (
|
||||
<>
|
||||
点击测速
|
||||
点击测速(仅支持chat模型)
|
||||
<br />
|
||||
{test_time != 0 ? '上次测速时间:' + timestamp2string(test_time) : '未测试'}
|
||||
</>
|
||||
|
@ -281,20 +281,21 @@ export default function ChannelTableRow({ item, manageChannel, handleOpenModal,
|
||||
|
||||
<TableCell>
|
||||
<Stack direction="row" justifyContent="center" alignItems="center" spacing={1}>
|
||||
<Button
|
||||
id="test-model-button"
|
||||
aria-controls={openTest ? 'test-model-menu' : undefined}
|
||||
aria-haspopup="true"
|
||||
aria-expanded={openTest ? 'true' : undefined}
|
||||
variant="outlined"
|
||||
disableElevation
|
||||
onClick={handleTestModel}
|
||||
endIcon={<KeyboardArrowDownIcon />}
|
||||
size="small"
|
||||
>
|
||||
测试
|
||||
</Button>
|
||||
|
||||
<Tooltip title="仅支持chat模型" placement="top">
|
||||
<Button
|
||||
id="test-model-button"
|
||||
aria-controls={openTest ? 'test-model-menu' : undefined}
|
||||
aria-haspopup="true"
|
||||
aria-expanded={openTest ? 'true' : undefined}
|
||||
variant="outlined"
|
||||
disableElevation
|
||||
onClick={handleTestModel}
|
||||
endIcon={<KeyboardArrowDownIcon />}
|
||||
size="small"
|
||||
>
|
||||
测试
|
||||
</Button>
|
||||
</Tooltip>
|
||||
<IconButton onClick={handleOpenMenu} sx={{ color: 'rgb(99, 115, 129)' }}>
|
||||
<IconDotsVertical />
|
||||
</IconButton>
|
||||
|
@ -34,7 +34,7 @@ const defaultConfig = {
|
||||
key: '请输入渠道对应的鉴权密钥',
|
||||
other: '',
|
||||
proxy: '单独设置代理地址,支持http和socks5,例如:http://127.0.0.1:1080',
|
||||
test_model: '用于测试使用的模型,为空时无法测速,如:gpt-3.5-turbo',
|
||||
test_model: '用于测试使用的模型,为空时无法测速,如:gpt-3.5-turbo,仅支持chat模型',
|
||||
models:
|
||||
'请选择该渠道所支持的模型,你也可以输入通配符*来匹配模型,例如:gpt-3.5*,表示支持所有gpt-3.5开头的模型,*号只能在最后一位使用,前面必须有字符,例如:gpt-3.5*是正确的,*gpt-3.5是错误的',
|
||||
model_mapping:
|
||||
|
Loading…
Reference in New Issue
Block a user