Aider-AI / aider

aider is AI pair programming in your terminal
https://aider.chat/
Apache License 2.0
22.66k stars 2.11k forks source link

"quit" should also quit vs use tokens #1441

Open ylluminate opened 2 months ago

ylluminate commented 2 months ago

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

SaabirMohamed commented 2 months ago

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.....

fry69 commented 2 months ago

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