paul-gauthier / aider

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

added hashes to a folder name #1618

Open aldoyh opened 2 hours ago

aldoyh commented 2 hours ago

Hello guys,

Thank you for such an amazing tool.

I've just started "knowing" how to use it, but whenever I add a certain folder using the /add lib\ it adds 3 hashes to it, is this intentional or can be fixed?

Screenshot 2024-09-21 at 11 54 22

Aider version: 0.56.0 Python version: 3.10.14 Platform: macOS-14.6.1-arm64-arm-64bit Python implementation: CPython Virtual environment: No OS: Darwin 23.6.0 (64bit) Git version: git version 2.46.1

Aider v0.56.0 Model: mistral/mistral-large-latest with whole edit format, infinite output Git repo: .git with 224 files Repo-map: disabled Added ### lib/api/service.dart to the chat. Added ### lib/auction_details_screen.dart to the chat. Added ### lib/controllers/auction_controller.dart to the chat. Added ### lib/controllers/auth_controller.dart to the chat. Added ### lib/flip_down_timer.dart to the chat. Added ### lib/home4.dart to the chat. Added ### lib/home_alternative.dart to the chat. Added ### lib/home_screen.dart to the chat. Added ### lib/main.dart to the chat. Added ### lib/models/auction.dart to the chat. Added ### lib/models/auction.g.dart to the chat. Added ### lib/models/bid.dart to the chat. Added ### lib/models/transaction.dart to the chat. Added ### lib/models/user.dart to the chat. Added ### lib/models/user.g.dart to the chat. Added ### lib/post_list.dart to the chat. Added ### lib/screens/auction_details_screen.dart to the chat. Added ### lib/screens/profile_screen.dart to the chat. Added ### lib/user.dart to the chat. Added ### lib/views/auction_carousel.dart to the chat. Added ### lib/views/auction_list.dart to the chat. Added ### lib/widgets/auctions_closed.dart to the chat. Added ### lib/widgets/flip_down_timer.dart to the chat. Added ### lib/widgets/inactive_auctions_list.dart to the chat. Added ### lib/widgets/main_web_nav.dart to the chat. Added lib/api/service.dart to the chat. Added lib/auction_details_screen.dart to the chat. Added lib/controllers/auction_controller.dart to the chat. Added lib/controllers/auth_controller.dart to the chat. Added lib/flip_down_timer.dart to the chat. Added lib/home4.dart to the chat. Added lib/home_alternative.dart to the chat. Added lib/home_screen.dart to the chat. Added lib/main.dart to the chat. Added lib/models/auction.dart to the chat. Added lib/models/auction.g.dart to the chat. Added lib/models/bid.dart to the chat. Added lib/models/transaction.dart to the chat. Added lib/models/user.dart to the chat. Added lib/models/user.g.dart to the chat. Added lib/post_list.dart to the chat. Added lib/screens/auction_details_screen.dart to the chat. Added lib/screens/profile_screen.dart to the chat. Added lib/user.dart to the chat. Added lib/views/auction_carousel.dart to the chat. Added lib/views/auction_list.dart to the chat. Added lib/widgets/auctions_closed.dart to the chat. Added lib/widgets/flip_down_timer.dart to the chat. Added lib/widgets/inactive_auctions_list.dart to the chat. Added lib/widgets/main_web_nav.dart to the chat. Restored previous conversation history.

fry69 commented 2 hours ago

Thank you for filing this issue.

aider does not request or add those hashes, that is the LLM. In your case the model you are using (mistral/mistral-large-latest) may not be able to produce the correct format aider needs to work effectively. Try using a better model (current go-to recommendation is Sonnet-3.5).

See also the model leaderboard -> https://aider.chat/docs/leaderboards/

Also this documentation may be helpful -> https://aider.chat/docs/troubleshooting/edit-errors.html