mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-10 08:53:48 +00:00
Polish per-answer thinking disclosure
This commit is contained in:
1 parent
b28f2bcf6c
commit
fc30b33daa
20 files changed
+147
-54
No files matched your search
@@ -4,14 +4,10 @@ namespace AIStudio.Provider;
|
||||
/// A chunk of content from a content stream, along with its associated sources.
|
||||
/// </summary>
|
||||
/// <param name="Content">The text content of the chunk.</param>
|
||||
/// <param name="Thinking">The provider-exposed thinking content of the chunk.</param>
|
||||
/// <param name="Sources">The list of sources associated with the chunk.</param>
|
||||
public sealed record ContentStreamChunk(string Content, string Thinking, IList<ISource> Sources)
|
||||
/// <param name="Thinking">The provider-exposed thinking content of the chunk.</param>
|
||||
public sealed record ContentStreamChunk(string Content, IList<ISource> Sources, string Thinking = "")
|
||||
{
|
||||
public ContentStreamChunk(string content, IList<ISource> sources) : this(content, string.Empty, sources)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Implicit conversion to string.
|
||||
/// </summary>
|
||||
|
||||
Reference in new issue
Block a user