aider icon indicating copy to clipboard operation
aider copied to clipboard

"quit" should also quit vs use tokens

Open ylluminate opened this issue 1 year ago • 2 comments

Issue

I think intuitively simply "quit" without a slash should also quit aider without using tokens. It might present a message to confirm or such and act like it's grokking the question, but it should not be sent off for evaluation.

Version and model info

No response

ylluminate avatar Sep 08 '24 23:09 ylluminate

Issue

I think intuitively simply "quit" without a slash should also quit aider without using tokens. It might present a message to confirm or such and act like it's grokking the question, but it should not be sent off for evaluation.

Version and model info

No response

me too I down know how many times i type quit or clear even ls.....

SaabirMohamed avatar Sep 12 '24 00:09 SaabirMohamed

I gave this a shot, please test and report ->

pip install git+https://github.com/fry69/aider@quit

# or

pipx install git+https://github.com/fry69/aider@quit --force

New (hidden) quit command aliases /q, /exit, /bye, /goodbye. Typing these commands without / and pressing enter will now produce a warning.

quit

The reason to not instantly quit is to not accidentally lose the context/chat.

Pro-tip: For instantly quitting aider (and most other interactive command line tools) use Ctrl+D

fry69 avatar Sep 12 '24 01:09 fry69