feat: 表格新增模型名列显示

This commit is contained in:
zwt13703 2026-07-06 20:31:58 +08:00
parent 8c64fbc0a5
commit d46018d410
1 changed files with 6 additions and 0 deletions

View File

@ -140,6 +140,12 @@ export default function ModelList() {
return <Tag>{label}</Tag>; return <Tag>{label}</Tag>;
}, },
}, },
{
title: "模型名",
key: "model_name",
width: 140,
render: (_: unknown, r: AIModel) => <Tag>{(r.extra_params as Record<string,unknown>)?.model as string || "-"}</Tag>,
},
{ title: "接口地址", dataIndex: "endpoint", key: "endpoint", ellipsis: true }, { title: "接口地址", dataIndex: "endpoint", key: "endpoint", ellipsis: true },
{ {
title: "启用", title: "启用",