mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00:00
Update Commands.svelte
This commit is contained in:
@@ -56,7 +56,8 @@
|
||||
{#if show}
|
||||
{#if !loading}
|
||||
{#if command?.charAt(0) === '/'}
|
||||
<Prompts bind:this={commandElement} bind:prompt bind:files {command} />
|
||||
<Prompts bind:this={commandElement} bind:prompt bind:files {command}
|
||||
on:promptapplied={(e) => dispatch('promptselectionprocessed', e.detail)} />
|
||||
{:else if (command?.charAt(0) === '#' && command.startsWith('#') && !command.includes('# ')) || ('\\#' === command.slice(0, 2) && command.startsWith('#') && !command.includes('# '))}
|
||||
<Knowledge
|
||||
bind:this={commandElement}
|
||||
|
||||
Reference in New Issue
Block a user