Added status texts for prompt processing and reasoning to the chat (#1205)

Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
This commit is contained in:
j-erlerandThorsten Sommer authored and GitHub committed 2026-11-21 09:43:31 +01:00
1 parent 6cdb0bc551
commit 28b88580a9
29 files changed
+504 -30

No files matched your search

@@ -217,6 +217,14 @@ public partial class ContentBlockComponent : MSGComponentBase
/// </summary>
private bool GetsAIGeneratedContentDisclosure => this.Role is ChatRole.AI && this.AddsAIGeneratedContentDisclosure;
/// <summary>
/// Whether this block tells the user above the progress bar that the model is thinking.
/// </summary>
/// <remarks>
/// Not while a tool runs: the status of the tools tells what happens then.
/// </remarks>
private bool ShowsThinkingStatus => this.Content is ContentText { IsThinking: true, ToolRuntimeStatus.IsRunning: false };
/// <summary>
/// The files this block holds, tables, code blocks, and formulas, so that the export menu can offer each of them.
/// </summary>
@@ -449,6 +457,7 @@ public partial class ContentBlockComponent : MSGComponentBase
hash.Add(text.ToolInvocations.Count);
hash.Add(text.Presentation?.Kind);
hash.Add(text.Presentation?.GetDataHashCode() ?? 0);
hash.Add(text.IsThinking);
hash.Add(text.ToolRuntimeStatus.IsRunning);
hash.Add(text.ToolRuntimeStatus.Message);
hash.Add(this.showToolTrace);