mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-13 22:53:48 +00:00
Dont display <think> tags (#496)
This commit is contained in:
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();
|
||||
|
||||
Reference in new issue
Block a user