aider icon indicating copy to clipboard operation
aider copied to clipboard

Should ignore space(s) in front of /in-chat commands

Open lawong888 opened this issue 1 year ago • 1 comments

Issue

/in-chat commands are great but if I accidentally added space(s) in front of the / commands, the application passes it to the LLM and waste some tokens giving some random answers. It would be good if those leading spaces were ignored (stripped) when encountering a "/"as the first character in the command line?

Version and model info

Aider v0.47.1 Models: claude-3-5-sonnet-20240620 with diff edit format, weak model claude-3-haiku-20240307 Git repo: .git with 15 files Repo-map: using 1024 tokens

lawong888 avatar Aug 02 '24 17:08 lawong888