From 448735a604a426c642a56e55e0d0c0ab4876cd22 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Wed, 24 Jan 2024 10:07:56 -0800 Subject: [PATCH] copy --- README.md | 11 +++++++++-- docs/install.md | 2 +- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 2839bd621..cfbe2f2ba 100644 --- a/README.md +++ b/README.md @@ -116,8 +116,15 @@ session with the `/add` and `/drop` chat commands described below. If you or GPT mention one of the repo's filenames in the conversation, aider will ask if you'd like to add it to the chat. -Aider will work best if you think about which files need to be edited to make your change and add them to the chat. -Aider has some ability to help GPT figure out which files to edit all by itself, but the most effective approach is to explicitly add the needed files to the chat yourself. +Think about the change you want to make and which files will need +to be edited -- add those files to the chat. +Don't add *all* the files in your repo to the chat. +Be selective, and just add the files that GPT will need to edit. +If you add a bunch of unrelated files, GPT can get overwhelmed +and confused (and it costs more tokens). +Aider will automatically +share snippets from other, related files with GPT so it can +[understand the rest of your code base](https://aider.chat/docs/repomap.html). Aider also has many additional command-line options, environment variables or configuration file diff --git a/docs/install.md b/docs/install.md index 4230b8d72..1cf6b88c6 100644 --- a/docs/install.md +++ b/docs/install.md @@ -4,7 +4,7 @@ - [Install git](#install-git) - [Get your OpenAI API key](#get-your-openai-api-key) - [Windows install](#windows-install) -- [Mac/Linux install](#mac-linux-install) +- [Mac/Linux install](#maclinux-install) ## Install git