You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, a command is only triggered if the user selects the command from the chat commands menu by pressing Enter. However, this may be annoying to some users who want to type out the commands manually.
Proposed Solution
Consider triggering commands whenever the user types a new word. This can be done by providing a signal that emits the previous word whenever a new word is typed.
Additional context
If the user is pasting a large amount of content into the chat input, I don't think we should scan the entire pasted section for chat commands. This imposes the constraint that "chat commands must be typed in order to be triggered". I think this is very reasonable, but I'm open to feedback on this.
The text was updated successfully, but these errors were encountered:
If the user is pasting a large amount of content into the chat input, I don't think we should scan the entire pasted section for chat commands. This imposes the constraint that "chat commands must be typed in order to be triggered". I think this is very reasonable, but I'm open to feedback on this.
One case where it could still be useful to trigger the command after copy pasting is if a user follows a tutorial, or finds a command somewhere they would like to use. For example in the case of Jupyter AI someone may share a command to generate a notebook, and someone else would like to copy and paste it all at once, instead of having to first type /generate and then paste the rest.
Problem
Right now, a command is only triggered if the user selects the command from the chat commands menu by pressing Enter. However, this may be annoying to some users who want to type out the commands manually.
Proposed Solution
Consider triggering commands whenever the user types a new word. This can be done by providing a signal that emits the previous word whenever a new word is typed.
Additional context
If the user is pasting a large amount of content into the chat input, I don't think we should scan the entire pasted section for chat commands. This imposes the constraint that "chat commands must be typed in order to be triggered". I think this is very reasonable, but I'm open to feedback on this.
The text was updated successfully, but these errors were encountered: