fix: 修复模型接口错误
This commit is contained in:
@@ -59,7 +59,9 @@ public class AiChatService : ApplicationService
|
||||
/// <returns></returns>
|
||||
public async Task<List<ModelGetListOutput>> 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",
|
||||
|
||||
Reference in New Issue
Block a user