fix: 修复模型排序错误,改名为大模型管理
- 修复智能添加创建的不完整数据导致排序错误 - 添加安全排序函数处理缺失字段 - 改名:模型管理 → 大模型管理 - 清理测试数据
This commit is contained in:
@@ -89,10 +89,10 @@
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- 模型管理 -->
|
||||
<!-- 大模型管理 -->
|
||||
<section id="section-models" class="hidden">
|
||||
<div class="flex justify-between items-center mb-6">
|
||||
<h1 class="text-2xl font-bold text-gray-800">模型管理</h1>
|
||||
<h1 class="text-2xl font-bold text-gray-800">大模型管理</h1>
|
||||
<div class="flex gap-2">
|
||||
<button onclick="openSmartAddModal('model')" class="px-4 py-2 bg-orange-600 text-white rounded-lg hover:bg-orange-700"><i class="ri-magic-line mr-2"></i>智能添加</button>
|
||||
<button onclick="openAddModal('model')" class="px-4 py-2 bg-indigo-600 text-white rounded-lg hover:bg-indigo-700"><i class="ri-add-line mr-2"></i>手动添加</button>
|
||||
@@ -331,7 +331,7 @@ GPT-4是OpenAI发布的大语言模型,参数量约1.8万亿,支持128K上
|
||||
|
||||
// 内置分类映射
|
||||
const builtinMap = {
|
||||
'ai-models': {id: 'models', name: '模型管理', icon: 'ri-robot-line'},
|
||||
'ai-models': {id: 'models', name: '大模型管理', icon: 'ri-robot-line'},
|
||||
'gpus': {id: 'gpus', name: 'GPU管理', icon: 'ri-cpu-line'},
|
||||
'cpus': {id: 'cpus', name: 'CPU管理', icon: 'ri-cpu-line'}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user