diff --git a/src/khoj/interface/web/chat.html b/src/khoj/interface/web/chat.html index 161f169c..659d410a 100644 --- a/src/khoj/interface/web/chat.html +++ b/src/khoj/interface/web/chat.html @@ -168,12 +168,15 @@ function onChatInput() { let chatInput = document.getElementById("chat-input"); - if (chatInput.value === "/") { + if (chatInput.value.startsWith("/") && chatInput.value.split(" ").length === 1) { let chatTooltip = document.getElementById("chat-tooltip"); chatTooltip.style.display = "block"; let helpText = "