diff --git a/src/lib/components/chat/Messages/RateComment.svelte b/src/lib/components/chat/Messages/RateComment.svelte
index 83ac9895f9..dc578f2b30 100644
--- a/src/lib/components/chat/Messages/RateComment.svelte
+++ b/src/lib/components/chat/Messages/RateComment.svelte
@@ -2,7 +2,7 @@
import { toast } from 'svelte-sonner';
import { createEventDispatcher, onMount, getContext } from 'svelte';
- import { config, models } from '$lib/stores';
+ import { config, models, tags as _tags } from '$lib/stores';
import Tags from '$lib/components/common/Tags.svelte';
import XMark from '$lib/components/icons/XMark.svelte';
@@ -225,6 +225,7 @@
{
tags = tags.filter(
(tag) =>
diff --git a/src/lib/components/chat/Tags.svelte b/src/lib/components/chat/Tags.svelte
index f57b166ac2..7b330146a7 100644
--- a/src/lib/components/chat/Tags.svelte
+++ b/src/lib/components/chat/Tags.svelte
@@ -73,6 +73,7 @@
{
deleteTag(e.detail);
}}
diff --git a/src/lib/components/common/Tags.svelte b/src/lib/components/common/Tags.svelte
index 9ed1a321c7..d42ac606b5 100644
--- a/src/lib/components/common/Tags.svelte
+++ b/src/lib/components/common/Tags.svelte
@@ -7,6 +7,7 @@
const i18n = getContext('i18n');
export let tags = [];
+ export let suggestionTags = [];
@@ -19,6 +20,7 @@
{
dispatch('add', e.detail);
}}
diff --git a/src/lib/components/common/Tags/TagInput.svelte b/src/lib/components/common/Tags/TagInput.svelte
index 3367a0a659..20b4b61736 100644
--- a/src/lib/components/common/Tags/TagInput.svelte
+++ b/src/lib/components/common/Tags/TagInput.svelte
@@ -7,6 +7,8 @@
const i18n = getContext('i18n');
export let label = '';
+ export let suggestionTags = [];
+
let showTagInput = false;
let tagName = '';
@@ -37,11 +39,13 @@
}
}}
/>
-
+ {#if suggestionTags.length > 0}
+
+ {/if}