feat: 表格新增模型名列显示
This commit is contained in:
parent
8c64fbc0a5
commit
d46018d410
|
|
@ -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: "启用",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue