From 07a3caa98f7d7788b56768b38077c122917db2ef Mon Sep 17 00:00:00 2001 From: Hadi Khazaee Asl Date: Wed, 28 Oct 2026 14:27:06 +0330 Subject: [PATCH] last ... --- Providers/XAiRAGService.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Providers/XAiRAGService.cs b/Providers/XAiRAGService.cs index d388b18..a9b87eb 100644 --- a/Providers/XAiRAGService.cs +++ b/Providers/XAiRAGService.cs @@ -405,13 +405,13 @@ namespace xAiApi.Providers /// List Ingested Documents of Owner (Grouped by File Name) ... /// public async Task> LoadDocumentsAsync( - string ownerId, + XUserClaimsInfoDto userInfo = null, CancellationToken cancellationToken = default ) { // // Validate ... - if (ownerId.IsNullOrEmpty()) + if (userInfo.IsNullOrDefault()) { XException.InvalidArgs.Throw(); } @@ -420,7 +420,7 @@ namespace xAiApi.Providers var vectors = await dataProvider.LoadVectorsAsync( includeEmbedding: false, cancellationToken: cancellationToken, - identifierPrefix: GetOwnerPrefix(ownerId) + identifierPrefix: GetOwnerPrefix(userInfo.UserId) ); //