Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7ddf4d90c4 |
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user