feat(web): update model management

This commit is contained in:
zhaoying
2026-01-27 20:07:53 +08:00
parent 74f0018962
commit 75b3ea1f05
24 changed files with 1768 additions and 360 deletions

View File

@@ -419,6 +419,9 @@ export const en = {
statusEnabled: 'Available',
statusDisabled: 'Unavailable',
remove: 'Remove',
fileSizeTip: 'File size cannot exceed {{size}}MB',
fileAcceptTip: 'Unsupported file type:'
},
model: {
searchPlaceholder: 'search model…',
@@ -510,6 +513,59 @@ export const en = {
gpustack: "Gpustack",
bedrock: "Bedrock"
},
modelNew: {
group: 'Model Group',
list: 'Model List',
square: 'Model Plaza',
createGroupModel: 'Create Model Group',
groupSearchPlaceholder: 'Search model groups',
listSearchPlaceholder: 'Search available models',
squareSearchPlaceholder: 'Search platform models',
status: 'Model Status',
created_at: 'Created At',
configureBtn: 'Click to Configure',
showModel: 'Show Model',
keyConfig: 'Configure KEY',
modelConfiguration: 'Model Configuration',
logo: 'Model LOGO',
name: 'Model Name',
type: 'Model Type',
modelImplement: 'Model Implementation',
addImplement: 'Add Implementation',
noAuth: 'Unauthorized (Limited to 1 implementation)',
implementConfig: 'Configure Model Implementation',
provider: 'Model Provider',
api_key_ids: 'Select Model',
viewAll: 'More',
modelCount: 'Total {{count}} models',
modelList: 'Model List',
added: ' Added',
addSuccess: 'Added successfully',
model_name: 'Model Name',
tags: 'Tags',
createCustomModel: 'Add Custom Model',
edit: 'Edit',
selectOneTip: 'Model API KEY not configured, please configure in Model Plaza first',
api_key: 'API KEY',
api_base: 'API Base URL',
description: 'Description',
add: 'Add',
item: 'item',
apiKeyNum: ' API Keys',
llm: 'LLM',
chat: 'Chat',
embedding: 'Embedding',
rerank: 'Rerank',
openai: "Openai",
dashscope: "Dashscope",
ollama: "Ollama",
xinference: "Xinference",
gpustack: "Gpustack",
bedrock: "Bedrock"
},
knowledgeBase: {
pleaseUploadFileFirst: 'Please upload file first',
shareSuccess: 'Share successfully',
@@ -866,7 +922,7 @@ export const en = {
minimumRetention: 'Minimum retention (λ_time)',
minimumRetentionDesc: 'Controls the minimum retention threshold of memory retention',
forgettingRate: 'Forgetting rate (λ_mem)',
forgettingRate: 'Forgetting rate (λ_mem)',
forgettingRateDesc: 'Control the speed of memory forgetting, the higher the value, the faster the forgetting',
offset: 'Offset (offset)',
offsetDesc: 'The offset of the minimum preservation degree',
@@ -934,7 +990,7 @@ export const en = {
number: 'Number',
checkbox: 'Checkbox',
apiVariable: 'API Variable',
displayName: 'Display Name',
maxLength: 'Max Length',
required: 'Required',
@@ -1534,7 +1590,9 @@ Memory Bear: After the rebellion, regional warlordism intensified for several re
noPermissionDesc: ' Please contact the administrator to grant permission',
tableEmpty: 'No data available.',
loadingEmpty: 'The content is loading…',
loadingEmptyDesc: 'Your content is on its way by rocket! It will soon land on your screen'
loadingEmptyDesc: 'Your content is on its way by rocket! It will soon land on your screen',
pageEmpty: 'Oops No search results available at the moment',
pageEmptyDesc: "Red Bear tilts its head and waits for you to change a new keyword, let's explore together.",
},
apiKey: {
name: 'Project Name',

View File

@@ -967,6 +967,9 @@ export const zh = {
statusEnabled: '可用',
statusDisabled: '不可用',
remove: '删除',
fileSizeTip: '文件大小不能超过 {{size}}MB',
fileAcceptTip: '不支持的文件类型:'
},
product: {
applicationManagement: '应用管理',
@@ -1076,6 +1079,59 @@ export const zh = {
gpustack: "Gpustack",
bedrock: "Bedrock"
},
modelNew: {
group: '模型组合',
list: '模型列表',
square: '模型广场',
createGroupModel: '创建模型组合',
groupSearchPlaceholder: '搜索模型组合',
listSearchPlaceholder: '搜索可用模型',
squareSearchPlaceholder: '搜索平台模型',
status: '模型状态',
created_at: '创建时间',
configureBtn: '点击配置',
showModel: '显示模型',
keyConfig: '配置 KEY',
modelConfiguration: '模型配置',
logo: '模型LOGO',
name: '模型名称',
type: '模型类型',
modelImplement: '模型实现',
addImplement: '添加实现',
noAuth: '未授权(限1个实现)',
implementConfig: '配置模型实现',
provider: '模型供应商',
api_key_ids: '选择模型',
viewAll: '更多',
modelCount: '共 {{count}} 个模型',
modelList: '模型列表',
added: ' 已添加',
addSuccess: '添加成功',
model_name: '模型名称',
tags: '标签',
createCustomModel: '添加自定义模型',
edit: '编辑',
selectOneTip: '模型未配置API KEY请先在模型广场配置',
api_key: 'API KEY',
api_base: 'API Base URL',
description: '描述',
add: '添加',
item: '个',
apiKeyNum: '个 API Key',
llm: 'LLM',
chat: 'Chat',
embedding: 'Embedding',
rerank: 'Rerank',
openai: "Openai",
dashscope: "Dashscope",
ollama: "Ollama",
xinference: "Xinference",
gpustack: "Gpustack",
bedrock: "Bedrock"
},
timezones: {
'Asia/Shanghai': '中国标准时间 (UTC+8)',
'Asia/Kolkata': '印度标准时间 (UTC+5:30)',
@@ -1607,13 +1663,10 @@ export const zh = {
noPermissionDesc: '请联系管理员授予权限',
tableEmpty: '目前没有数据',
loadingEmpty: '内容正在加载中…',
loadingEmptyDesc: '您的内容正在火箭运输中!很快就会降落在您的屏幕上'
loadingEmptyDesc: '您的内容正在火箭运输中!很快就会降落在您的屏幕上',
pageEmpty: '哎呀!暂无搜索结果',
pageEmptyDesc: '红熊歪着头等待您更换新的关键词,让我们一起探索吧。',
},
count: '计数: {{count}}',
increment: '增加',
decrement: '减少',
reset: '重置',
switchLanguage: '切换语言',
home: {
title: '首页',