enh: scroll to message from overview

This commit is contained in:
Timothy J. Baek
2024-09-18 03:13:37 +02:00
parent 8d92093570
commit 67f704c98d
5 changed files with 38 additions and 4 deletions
@@ -21,6 +21,7 @@
export let eventTarget: EventTarget;
export let submitPrompt: Function;
export let stopResponse: Function;
export let showMessage: Function;
export let files;
export let modelId;
@@ -126,6 +127,9 @@
{:else if $showOverview}
<Overview
bind:history
on:nodeclick={(e) => {
showMessage(e.detail.node.data.message);
}}
on:close={() => {
showControls.set(false);
}}