diff --git a/web/assets/app.js b/web/assets/app.js index 5aade8f..81413dc 100644 --- a/web/assets/app.js +++ b/web/assets/app.js @@ -380,8 +380,10 @@ async function chatTurn(content, t, attachments) { reasoning += d.reasoning_content; reasoningNode.textContent = reasoning; det.hidden = false; + det.open = true; // show the thinking live, so the wait is visible progress } if (d && d.content) { + if (!text) det.open = false; // fold the thinking once the answer starts text += d.content; contentNode.textContent = text; }