diff --git a/Yi.Abp.Net8/module/ai-hub/Yi.Framework.AiHub.Application/Services/AiChatService.cs b/Yi.Abp.Net8/module/ai-hub/Yi.Framework.AiHub.Application/Services/AiChatService.cs index 58c9b489..ec75cb75 100644 --- a/Yi.Abp.Net8/module/ai-hub/Yi.Framework.AiHub.Application/Services/AiChatService.cs +++ b/Yi.Abp.Net8/module/ai-hub/Yi.Framework.AiHub.Application/Services/AiChatService.cs @@ -59,7 +59,9 @@ public class AiChatService : ApplicationService /// public async Task> GetModelAsync() { - var output = await _aiModelRepository._DbQueryable.Select(x => new ModelGetListOutput + var output = await _aiModelRepository._DbQueryable + .OrderBy(x=>x.OrderNum) + .Select(x => new ModelGetListOutput { Id = x.Id, Category = "chat",