Dont display <think> tags (#496)

This commit is contained in:
Peer Schütt authored and GitHub committed 2025-06-10 14:32:24 +02:00
1 parent 368fc9ce39
commit 793a9cae0a
4 files changed
+24 -3

No files matched your search

@@ -119,6 +119,8 @@ public sealed class ContentText : IContent
this.InitialRemoteWait = false;
this.IsStreaming = false;
}, token);
this.Text = this.Text.RemoveThinkTags().Trim();
// Inform the UI that the streaming is done:
await this.StreamingDone();