diff --git a/Yi.Abp.Net8/module/ai-hub/Yi.Framework.AiHub.Application/Services/Chat/ModelService.cs b/Yi.Abp.Net8/module/ai-hub/Yi.Framework.AiHub.Application/Services/Chat/ModelService.cs index af9bcb00..b811c00f 100644 --- a/Yi.Abp.Net8/module/ai-hub/Yi.Framework.AiHub.Application/Services/Chat/ModelService.cs +++ b/Yi.Abp.Net8/module/ai-hub/Yi.Framework.AiHub.Application/Services/Chat/ModelService.cs @@ -79,10 +79,9 @@ public class ModelService : ApplicationService, IModelService public async Task> GetProviderListAsync() { var providers = await _modelRepository._DbQueryable - .Where(x => !x.IsDeleted && x.IsEnabled) + .Where(x => x.IsEnabled) .Where(x => !string.IsNullOrEmpty(x.ProviderName)) .GroupBy(x => x.ProviderName) - .OrderBy(x => x.OrderNum) .Select(x => x.ProviderName) .ToListAsync();