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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user