mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-02-13 04:21:36 +00:00
Simplified syntax
This commit is contained in:
parent
9c125d5e34
commit
243319a0db
@ -97,10 +97,7 @@ public partial class ChatComponent : MSGComponentBase, IAsyncDisposable
|
|||||||
|
|
||||||
// Use chat thread sent by the user:
|
// Use chat thread sent by the user:
|
||||||
this.ChatThread = deferredContent;
|
this.ChatThread = deferredContent;
|
||||||
this.ChatThread = this.ChatThread with
|
this.ChatThread.IncludeDateTime = true;
|
||||||
{
|
|
||||||
IncludeDateTime = true,
|
|
||||||
};
|
|
||||||
|
|
||||||
this.Logger.LogInformation($"The chat '{this.ChatThread.ChatId}' with {this.ChatThread.Blocks.Count} messages was deferred and will be rendered now.");
|
this.Logger.LogInformation($"The chat '{this.ChatThread.ChatId}' with {this.ChatThread.Blocks.Count} messages was deferred and will be rendered now.");
|
||||||
await this.ChatThreadChanged.InvokeAsync(this.ChatThread);
|
await this.ChatThreadChanged.InvokeAsync(this.ChatThread);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user