mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-07 08:49:40 +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
@@ -1054,6 +1054,15 @@ public abstract class BaseProvider : IProvider, ISecretId
|
||||
""", StringComparison.InvariantCulture) ||
|
||||
jsonData.StartsWith("""
|
||||
{"type":"response.reasoning_text.delta"
|
||||
""", StringComparison.InvariantCulture) ||
|
||||
|
||||
//
|
||||
// Not a delta of its own: it announces the next part of a reasoning summary.
|
||||
// The stream carries no separator between those parts, so the stream line
|
||||
// turns this event into the paragraph break between them.
|
||||
//
|
||||
jsonData.StartsWith("""
|
||||
{"type":"response.reasoning_summary_part.added"
|
||||
""", StringComparison.InvariantCulture))
|
||||
{
|
||||
TDelta? providerResponse;
|
||||
|
||||
Reference in new issue
Block a user