Merge remote-tracking branch 'origin/ai-hub' into ai-hub

This commit is contained in:
Gsh
2026-01-11 14:08:04 +08:00
2 changed files with 6 additions and 1 deletions

View File

@@ -48,4 +48,8 @@ public class ModelGetListOutput
/// 模型图标URL
/// </summary>
public string? IconUrl { get; set; }
/// <summary>
/// 供应商分组名称(如OpenAI、Anthropic、Google等)
/// </summary>
public string? ProviderName { get; set; }
}

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 =>