last ...
This commit is contained in:
@@ -21,8 +21,6 @@ using Microsoft.Extensions.Logging;
|
|||||||
using System.ClientModel.Primitives;
|
using System.ClientModel.Primitives;
|
||||||
using System.Runtime.CompilerServices;
|
using System.Runtime.CompilerServices;
|
||||||
using xAiModels.Models.Dtos;
|
using xAiModels.Models.Dtos;
|
||||||
using xIdentityModels.Models;
|
|
||||||
using System.Linq;
|
|
||||||
using xAiService.Extensions;
|
using xAiService.Extensions;
|
||||||
|
|
||||||
namespace xAiApi.Providers
|
namespace xAiApi.Providers
|
||||||
@@ -359,7 +357,19 @@ namespace xAiApi.Providers
|
|||||||
|
|
||||||
//
|
//
|
||||||
// Here we have to fill Conversations of Default Project ...
|
// 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;
|
return result;
|
||||||
|
|||||||
Reference in New Issue
Block a user