This commit is contained in:
yumoqing 2025-09-16 10:43:13 +08:00
parent 5a78869f6e
commit d526136f0b

View File

@ -62,7 +62,7 @@ bricks.LlmOut = class extends bricks.VBox {
} }
this.clear_widgets(); this.clear_widgets();
if (this.reasoning_content.length) { if (this.reasoning_content.length) {
var txt = bricks.escapeSpecialChars('<think>\n\n' + this.reasoning_content + '\n\n'</think>'); var txt = bricks.escapeSpecialChars('<think>\n\n' + this.reasoning_content + '\n\n</think>');
this.rc_w = new bricks.MdWidget({ this.rc_w = new bricks.MdWidget({
mdtext: txt, mdtext: txt,
width: '100%' width: '100%'