1
0
mirror of https://github.com/coalaura/whiskr.git synced 2025-12-02 20:22:52 +00:00

better markdown parsing

This commit is contained in:
Laura
2025-09-12 14:54:35 +02:00
parent ea65f7fd60
commit 44a5c1cd62
4 changed files with 137 additions and 77 deletions

View File

@@ -174,7 +174,7 @@
this.#build(collapsed);
this.#render();
if (tool) {
if (tool?.name) {
this.setTool(tool);
}
@@ -592,6 +592,8 @@
this.#_message.classList.toggle("has-tool", !!this.#tool);
this.#updateToolHeight();
noScroll || scroll();
updateScrollButton();
@@ -631,6 +633,8 @@
if (!only || only === "reasoning") {
this.#patch("reasoning", this.#_reasoning, this.#reasoning, () => {
this.#updateReasoningHeight();
noScroll || scroll();
updateScrollButton();