ccnetcore
|
a46a552097
|
feat: 完成模型库优化
|
2025-12-11 21:12:29 +08:00 |
|
chenchun
|
67ed1ac1e3
|
fix: 聊天模型列表仅返回 OpenAi 类型
在 Yi.Abp.Net8/module/ai-hub/Yi.Framework.AiHub.Application/Services/Chat/AiChatService.cs 中,为查询添加了 .Where(x => x.ModelApiType == ModelApiTypeEnum.OpenAi) 过滤,确保只返回 ModelType 为 Chat 且 ModelApiType 为 OpenAi 的模型,避免将非 OpenAi 的模型纳入聊天模型列表。
|
2025-12-11 17:17:35 +08:00 |
|
chenchun
|
b78ecf27d5
|
feat: 完成token功能
|
2025-11-27 19:01:16 +08:00 |
|
chenchun
|
afe9c8bcae
|
feat: 新增模型列表 IsPremiumPackage 字段并在 AiChatService 中设置
- 在 Yi.Framework.AiHub.Application.Contracts.Dtos.ModelGetListOutput 中新增 bool 属性 IsPremiumPackage。
- 在 Yi.Framework.AiHub.Application.Services.Chat.AiChatService 的模型映射中设置该属性,判断逻辑为 PremiumPackageConst.ModeIds.Contains(x.ModelId)。
- 便于前端区分并展示“尊享包”模型。
|
2025-11-25 09:59:31 +08:00 |
|
chenchun
|
1b4c3cbb8d
|
feat: 支持尊享包用量统计
|
2025-11-10 15:18:05 +08:00 |
|