fix: 修复模型接口错误

This commit is contained in:
ccnetcore
2025-06-25 22:45:57 +08:00
parent 2732df24af
commit a5dd3946f8

View File

@@ -60,7 +60,7 @@ public class AiChatService : ApplicationService
public async Task<List<ModelGetListOutput>> GetModelAsync()
{
var output = await _aiModelRepository._DbQueryable
.OrderBy(x=>x.OrderNum)
.OrderByDescending(x=>x.OrderNum)
.Select(x => new ModelGetListOutput
{
Id = x.Id,