Polish per-answer thinking disclosure

This commit is contained in:
Peer Hogeterp committed 2026-09-10 17:32:38 +02:00
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;