mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-23 07:33:48 +00:00
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:
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.
|
||||
|
||||
Reference in new issue
Block a user