This commit is contained in:
2026-09-27 22:00:56 +03:30
parent 9f27b7825e
commit a4dee3b5a4
2 changed files with 164 additions and 8 deletions
+1 -8
View File
@@ -104,11 +104,9 @@ namespace xAiModels.Providers
var result = await projectRepositoryService.FindManyAsync(
includeBuilder: null,
ignoreSoftDeleteds: true,
// fillConversations: fillConversations,
predicate: x => x.OwnerId == ownerId,
cancellationToken: cancellationToken,
orderBuilder: x => x.OrderBy(y => y.CreatedOn)
// fillConversationMessages: fillConversationMessages
);
//
@@ -142,7 +140,6 @@ namespace xAiModels.Providers
var result = await conversationRepositoryService.FindManyAsync(
includeBuilder: null,
ignoreSoftDeleteds: false,
// fillMessages: fillMessages,
cancellationToken: cancellationToken,
predicate: x => x.ProjectId == projectId,
orderBuilder: x => x.OrderBy(y => y.CreatedOn)
@@ -727,8 +724,6 @@ namespace xAiModels.Providers
id: project.Id,
includeBuilder: null,
ignoreSoftDeleteds: true,
// fillConversations: false,
// fillConversationMessages: false,
cancellationToken: cancellationToken
);
}
@@ -744,7 +739,7 @@ namespace xAiModels.Providers
predicate: x =>
x.ResourceTitle
.ToNormalString()
.Contains(ownerId.ToNormalString()) &&
.Contains(projectId.ToString().ToNormalString()) &&
x.ResourceTitle
.ToNormalString()
.Contains(XAiModelsConstants.XAiConversationTitleIdentifier
@@ -819,8 +814,6 @@ namespace xAiModels.Providers
id: project.Id,
includeBuilder: null,
ignoreSoftDeleteds: true,
// fillConversations: false,
// fillConversationMessages: false,
cancellationToken: cancellationToken
);
}