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

@@ -24,6 +24,16 @@ public sealed record ContentStreamChunk(string Content, IList<ISource> Sources,
/// </remarks>
public IReadOnlyList<SourcePassage> Passages { get; init; } = [];
/// <summary>
/// Whether the model was reasoning when this chunk arrived.
/// </summary>
/// <remarks>
/// The reasoning itself never travels with the chunk; nothing shows it. The chunk only says
/// that it happens, so that the user reads why no text arrives yet. A provider which hides
/// its reasoning inside think tags sets nothing here: that text arrives as content.
/// </remarks>
public bool IsReasoning { get; init; }
/// <summary>
/// Tells whether the model ended its turn without an answer, so that the content of the chunk is a notice of the
/// app rather than a word of the model.