mirror of
https://github.com/APIParkLab/APIPark.git
synced 2026-06-14 20:41:15 +08:00
Merge branch 'feature/1.6-cx' into 'main'
feat: feature/1.6-Integrate custom model See merge request apipark/APIPark!254
This commit is contained in:
@@ -57,11 +57,13 @@ const ModelsDetailTable = (props: { providerID?: string }) => {
|
||||
{
|
||||
title: $t('模型名称'),
|
||||
ellipsis: true,
|
||||
copyable: true,
|
||||
dataIndex: 'name'
|
||||
},
|
||||
{
|
||||
title: $t('模型类型'),
|
||||
ellipsis: true,
|
||||
width: 100,
|
||||
dataIndex: 'type'
|
||||
},
|
||||
{
|
||||
@@ -78,6 +80,7 @@ const ModelsDetailTable = (props: { providerID?: string }) => {
|
||||
</span>
|
||||
),
|
||||
ellipsis: true,
|
||||
copyable: true,
|
||||
dataIndex: 'modelValue'
|
||||
},
|
||||
...operation
|
||||
@@ -153,7 +156,7 @@ const ModelsDetailTable = (props: { providerID?: string }) => {
|
||||
const tableData = response.data.llms.map((item) => {
|
||||
return {
|
||||
...item,
|
||||
modelValue: `${response.data.provider.name}/${item.name}`
|
||||
modelValue: `${response.data.provider.id}/${item.id}`
|
||||
}
|
||||
})
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user