diff --git a/src/lib/components/chat/MessageInput/CommandSuggestionList.svelte b/src/lib/components/chat/MessageInput/CommandSuggestionList.svelte index 58720a923f..f3c9112b82 100644 --- a/src/lib/components/chat/MessageInput/CommandSuggestionList.svelte +++ b/src/lib/components/chat/MessageInput/CommandSuggestionList.svelte @@ -1,5 +1,5 @@ + +{#if filteredPrompts.length > 0} +
+ {$i18n.t('Prompts')} +
+ + {#each filteredPrompts as promptItem, promptIdx} + + + + {/each} +{/if} + +{#if skills.length > 0} +
+ {$i18n.t('Skills')} +
+ + {#each skills as skill, skillIdx} + {@const itemIdx = filteredPrompts.length + skillIdx} + + + + {/each} +{/if}