diff --git a/Providers/XAIServiceBase.cs b/Providers/XAIServiceBase.cs index 93fadc8..cb2aaa3 100644 --- a/Providers/XAIServiceBase.cs +++ b/Providers/XAIServiceBase.cs @@ -21,8 +21,6 @@ using Microsoft.Extensions.Logging; using System.ClientModel.Primitives; using System.Runtime.CompilerServices; using xAiModels.Models.Dtos; -using xIdentityModels.Models; -using System.Linq; using xAiService.Extensions; namespace xAiApi.Providers @@ -359,7 +357,19 @@ namespace xAiApi.Providers // // Here we have to fill Conversations of Default Project ... + var defaultProjectId = result.GetDafualtProject(ownerId); + // + // Reading Conversations of Specified Default Project ... + var conversations = await dataProvider.LoadConversations( + fillMessages: false, + projectId: defaultProjectId, + cancellationToken: cancellationToken + ); + var defaultConversationId = conversations.GetDefaultConversation( + ownerId: ownerId, + projectId: defaultProjectId + ); // return result;