diff --git a/ui/src/api/types.ts b/ui/src/api/types.ts
index 81ae5aa..883929d 100644
--- a/ui/src/api/types.ts
+++ b/ui/src/api/types.ts
@@ -380,6 +380,8 @@ export interface DomainModel {
input?: number;
/** 是否启用 */
is_active?: boolean;
+ /** 是否内部模型 */
+ is_internal?: boolean;
/** 模型名称 如: deepseek-v3 */
model_name?: string;
/** 模型类型 llm:对话模型 coder:代码模型 */
diff --git a/ui/src/pages/admin/adminTable.tsx b/ui/src/pages/admin/adminTable.tsx
index 310a03f..0e8c041 100644
--- a/ui/src/pages/admin/adminTable.tsx
+++ b/ui/src/pages/admin/adminTable.tsx
@@ -189,8 +189,11 @@ const AdminTable = () => {
{
title: '最近活跃时间',
dataIndex: 'last_active_at',
- render: (text) => {
- return text === 0 ? '从未使用' : dayjs.unix(text).fromNow();
+ render: (text, record) => {
+ return
+ {record.created_at ? dayjs.unix(record.created_at).fromNow() + '加入' : '加入时间未知'}
+ {record.last_active_at ? dayjs.unix(record.last_active_at).fromNow() + '活跃' : '活跃时间未知'}
+
},
},
{
@@ -212,14 +215,14 @@ const AdminTable = () => {
},
];
return (
-
+
- 管理员
+ 管理员