aider icon indicating copy to clipboard operation
aider copied to clipboard

/ask command creates empty files without previous request

Open netpoe opened this issue 6 months ago • 2 comments

Issue

Using the /ask command creates unwanted empty files:

> /ask are you aware of TheGraph, the blockchain tool for querying with GraphQL?                                                                                                                                                 

Creating empty file database-sequelize/models/Prompt.ts
Creating empty file database-sequelize/models/Round.ts
Creating empty file database-sequelize/models/RoundResult.ts
Creating empty file database-sequelize/models/TextToImg.ts
Creating empty file database-sequelize/models/User.ts
Creating empty file database-sequelize/models/index.ts
Creating empty file database-sequelize/package.json
Creating empty file database-sequelize/tests/promptwars-round.ts
Creating empty file database-sequelize/tsconfig.json

I did add those files with /add, but Aider used the added files to create them again, without request and under the /ask command 🤔, which shouldn't edit files in the first place.

Version and model info

Using Aider 24.0+ in Python 3.12.4, MacOS, Claude Sonnet  claude-3-5-sonnet-20240620.

netpoe avatar Aug 02 '24 17:08 netpoe