mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-05 02:41:34 +00:00
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
This commit is contained in:
parent
fe8b30438a
commit
c402acb404
1 changed files with 1 additions and 1 deletions
|
|
@ -1452,7 +1452,7 @@
|
|||
.insertContentAt(range, [
|
||||
{
|
||||
type: 'mention',
|
||||
attrs: props
|
||||
attrs: { ...props, mentionSuggestionChar: '/' }
|
||||
},
|
||||
{ type: 'text', text: ' ' }
|
||||
])
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue