diff --git a/Yi.Abp.Net8/module/ai-hub/Yi.Framework.AiHub.Application/Services/Chat/AiImageService.cs b/Yi.Abp.Net8/module/ai-hub/Yi.Framework.AiHub.Application/Services/Chat/AiImageService.cs index 05f672c6..dfd3b23e 100644 --- a/Yi.Abp.Net8/module/ai-hub/Yi.Framework.AiHub.Application/Services/Chat/AiImageService.cs +++ b/Yi.Abp.Net8/module/ai-hub/Yi.Framework.AiHub.Application/Services/Chat/AiImageService.cs @@ -370,6 +370,7 @@ public class AiImageService : ApplicationService public async Task> GetModelAsync() { var output = await _aiModelRepository._DbQueryable + .Where(x=>x.IsEnabled==true) .Where(x => x.ModelType == ModelTypeEnum.Image) .Where(x => x.ModelApiType == ModelApiTypeEnum.GenerateContent) .OrderByDescending(x => x.OrderNum)