feat: 模型列表返回中新增供应商名称字段

在模型列表查询中增加 ProviderName 字段,并在 ModelGetListOutput DTO 中暴露,用于按供应商(如 OpenAI、Anthropic 等)分组展示模型。
This commit is contained in:
ccnetcore
2026-01-11 13:57:05 +08:00
parent a2da4c36fe
commit fc61b67fc0
2 changed files with 6 additions and 1 deletions

View File

@@ -110,7 +110,8 @@ public class AiChatService : ApplicationService
Remark = x.Description,
IsPremiumPackage = x.IsPremium,
ModelApiType = x.ModelApiType,
IconUrl = x.IconUrl
IconUrl = x.IconUrl,
ProviderName = x.ProviderName
}).ToListAsync();
output.ForEach(x =>