chore: add backend field in check api
This commit is contained in:
@@ -42,12 +42,16 @@
|
||||
|
||||
.item {
|
||||
display: flex;
|
||||
font-weight: var(--font-weight-medium);
|
||||
color: var(--ant-color-text);
|
||||
}
|
||||
|
||||
.tl {
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
width: 60px;
|
||||
font-weight: var(--font-weight-normal);
|
||||
color: var(--ant-color-text-secondary);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -45,7 +45,7 @@ export default {
|
||||
'Get Token <span class="note-text">(Run on the server)</span>',
|
||||
'resources.worker.add.step2': 'Register Worker',
|
||||
'resources.worker.add.step2.tips':
|
||||
'(Run on the worker to be added, <span style="color: #000;font-weight: 600">token</span> is the token obtained in the first step.)',
|
||||
'(Run on the worker to be added, <span style="color: #000;font-weight: 600">token</span> is the value obtained in the first step.)',
|
||||
'resources.worker.add.step3':
|
||||
'After success, refresh the workers list to view the new worker.',
|
||||
'resources.worker.container.supported': 'Do not support macOS or Windows.',
|
||||
|
||||
@@ -45,7 +45,7 @@ export default {
|
||||
'Get Token <span class="note-text">(Run on the server)</span>',
|
||||
'resources.worker.add.step2': 'ワーカーを登録',
|
||||
'resources.worker.add.step2.tips':
|
||||
'(Run on the worker to be added, <span style="color: #000;font-weight: 600">token</span> is the token obtained in the first step.)',
|
||||
'(Run on the worker to be added, <span style="color: #000;font-weight: 600">token</span> is the value obtained in the first step.)',
|
||||
'resources.worker.add.step3':
|
||||
'成功後、ワーカーリストを更新して新しいワーカーを確認してください。',
|
||||
'resources.worker.container.supported':
|
||||
|
||||
@@ -45,7 +45,7 @@ export default {
|
||||
'Получить токен <span class="note-text">(Запустить на сервере)</span>',
|
||||
'resources.worker.add.step2': 'Зарегистрировать воркер',
|
||||
'resources.worker.add.step2.tips':
|
||||
'(выполнить на подключаемом воркере, <span style="color: #000;font-weight: 600">token</span> это токен, полученный на первом шаге)',
|
||||
'(Run on the worker to be added, <span style="color: #000;font-weight: 600">token</span> is the value obtained in the first step.)',
|
||||
'resources.worker.add.step3':
|
||||
'После успешной регистрации обновите список воркеров.',
|
||||
'resources.worker.container.supported': 'Только для Linux.',
|
||||
@@ -75,5 +75,6 @@ export default {
|
||||
};
|
||||
|
||||
// ========== To-Do: Translate Keys (Remove After Translation) ==========
|
||||
// 1. 'resources.worker.cann.tips'
|
||||
// 1. 'resources.worker.cann.tips',
|
||||
// 2. 'resources.worker.add.step2.tips'
|
||||
// ========== End of To-Do List ==========
|
||||
|
||||
@@ -45,7 +45,7 @@ export default {
|
||||
'获取 Token<span class="note-text">(在 Server 上运行)</span>',
|
||||
'resources.worker.add.step2': '注册 Worker',
|
||||
'resources.worker.add.step2.tips':
|
||||
'(在需要添加的 Worker 上运行,<span style="color: #000;font-weight: 600">token</span> 为第一步获取到的 token)',
|
||||
'(在需要添加的 Worker 上运行,<span style="color: #000;font-weight: 600">token</span> 为第一步获取到的值。)',
|
||||
'resources.worker.add.step3': '成功后,刷新 Worker 列表即可看到新的 Worker',
|
||||
'resources.worker.container.supported': '不支持 macOS 和 Windows',
|
||||
'resources.worker.current.version': '当前版本为 {version}',
|
||||
|
||||
@@ -213,9 +213,9 @@ const SearchModel: React.FC<SearchInputProps> = (props) => {
|
||||
backend: backendOptionsMap.voxBox
|
||||
};
|
||||
} else if (item.isGGUF) {
|
||||
// backendObj = {
|
||||
// backend: backendOptionsMap.llamaBox
|
||||
// };
|
||||
backendObj = {
|
||||
backend: backendOptionsMap.llamaBox
|
||||
};
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user