From c402acb40478611312616ebbe221eba7cbfea24b Mon Sep 17 00:00:00 2001 From: Classic298 <27028174+Classic298@users.noreply.github.com> Date: Sat, 26 Sep 2026 05:19:56 +0200 Subject: [PATCH] fix: skills picked from the / menu are not applied to the reply (#31429) Picking a skill from the / menu in the chat input inserted it as an @ mention, so the skill was never loaded and its raw tag ended up in the message the model received. Picking the same skill from the $ menu worked. A skill chosen through / is now sent the same way as through $ and gets applied. Fixes #29978 --- src/lib/components/chat/MessageInput.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/components/chat/MessageInput.svelte b/src/lib/components/chat/MessageInput.svelte index 8d5107286e..02859eb9f4 100644 --- a/src/lib/components/chat/MessageInput.svelte +++ b/src/lib/components/chat/MessageInput.svelte @@ -1452,7 +1452,7 @@ .insertContentAt(range, [ { type: 'mention', - attrs: props + attrs: { ...props, mentionSuggestionChar: '/' } }, { type: 'text', text: ' ' } ])