diff --git a/i18n/en.json b/i18n/en.json index d6113003..62ade1a3 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -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", diff --git a/web/src/views/Channel/component/ResponseTimeLabel.js b/web/src/views/Channel/component/ResponseTimeLabel.js index 3ff5b988..82b07336 100644 --- a/web/src/views/Channel/component/ResponseTimeLabel.js +++ b/web/src/views/Channel/component/ResponseTimeLabel.js @@ -21,7 +21,7 @@ const ResponseTimeLabel = ({ test_time, response_time, handle_action }) => { } let title = ( <> - 点击测速 + 点击测速(仅支持chat模型)
{test_time != 0 ? '上次测速时间:' + timestamp2string(test_time) : '未测试'} diff --git a/web/src/views/Channel/component/TableRow.js b/web/src/views/Channel/component/TableRow.js index c345af7e..722e6a0c 100644 --- a/web/src/views/Channel/component/TableRow.js +++ b/web/src/views/Channel/component/TableRow.js @@ -281,20 +281,21 @@ export default function ChannelTableRow({ item, manageChannel, handleOpenModal, - - + + + diff --git a/web/src/views/Channel/type/Config.js b/web/src/views/Channel/type/Config.js index 6a6accb5..46b36cc5 100644 --- a/web/src/views/Channel/type/Config.js +++ b/web/src/views/Channel/type/Config.js @@ -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: