diff --git a/src/lib/components/workspace/Models/Knowledge/Selector.svelte b/src/lib/components/workspace/Models/Knowledge/Selector.svelte index 30762bd2c..5cb22dc50 100644 --- a/src/lib/components/workspace/Models/Knowledge/Selector.svelte +++ b/src/lib/components/workspace/Models/Knowledge/Selector.svelte @@ -1,4 +1,6 @@ @@ -57,6 +75,7 @@ on:change={(e) => { if (e.detail === false) { onClose(); + query = ''; } }} > @@ -70,13 +89,39 @@ align="start" transition={flyAndScale} > -