Skip to content

Build your personal knowledge base with Trilium Notes

fix(llm): keep the chat input's @-mention open past a space

Elian Doranf9850906cabe
diff --git a/apps/client/src/widgets/type_widgets/llm_chat/ChatInputBar.tsx b/apps/client/src/widgets/type_widgets/llm_chat/ChatInputBar.tsx
index 43258d0177..46c58adce4 100644
--- a/apps/client/src/widgets/type_widgets/llm_chat/ChatInputBar.tsx
+++ b/apps/client/src/widgets/type_widgets/llm_chat/ChatInputBar.tsx
@@ -49,7 +49,9 @@ const mentionFeeds: MentionFeed[] = [
return itemElement;
},
- minimumCharacters: 0
+ minimumCharacters: 0,
+ // Note titles contain spaces, so the query must be allowed to as well.
+ allowSpaces: true
}
];