From 80303d1c821bb9dad5dccca5be7e7cf032710e50 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Thu, 4 Sep 2025 14:42:26 +0800 Subject: [PATCH] bugfix --- bricks/llm.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bricks/llm.js b/bricks/llm.js index 8d29073..66d33c3 100644 --- a/bricks/llm.js +++ b/bricks/llm.js @@ -266,8 +266,8 @@ bricks.LlmModel = class extends bricks.JsWidget { console.log(l, 'is not a json data'); return } - if (! d.content || d.content == ''){ - console.log(l, 'content is not null'); + if (! d.content && ! d.reasoning_content){ + console.log(l, 'content is null and reasoning_content is null'); return; } d.content = bricks.escapeSpecialChars(d.content);