This commit is contained in:
Paul Gauthier 2023-05-14 07:12:01 -07:00
parent d55f8a94e3
commit 57fff7f360
3 changed files with 8 additions and 4 deletions

View file

@ -1,7 +1,7 @@
# aider: GPT-4 powered coding in your terminal # aider: gpt-4 powered coding in your terminal
`aider` is a command-line tool that allows you to chat with GPT-4 about your code. `aider` is a command-line tool that allows you to chat with GPT-4 about your code.
Ask GPT for features, improvements, or bug fixes and `aider` will directly apply the changes to your source files. Ask GPT for features, improvements, or bug fixes and `aider` will directly apply the suggested changes to your source files.
Each change is automatically committed to git with a sensible commit message. Each change is automatically committed to git with a sensible commit message.
## Example chat transcripts ## Example chat transcripts

View file

@ -20,8 +20,12 @@ If you need help with any specific part of the code or want to add new features,
To help you with the scoring mechanism, I need to see the relevant code. Please provide the contents of the `js/game_manager.js` file, as it is likely to contain the scoring logic. To help you with the scoring mechanism, I need to see the relevant code. Please provide the contents of the `js/game_manager.js` file, as it is likely to contain the scoring logic.
---
> js/game_manager.js > js/game_manager.js
> Add these files to the chat? y > Add these files to the chat? y
---
Apologies for the oversight. I see the contents of the `js/game_manager.js` file now. Apologies for the oversight. I see the contents of the `js/game_manager.js` file now.

View file

@ -6,7 +6,7 @@ to generate and edit code with GPT-4.
There are a few things worth taking note of: There are a few things worth taking note of:
- `aider` will add certain source files to the chat session. Once added, these files are available for review and editing by GPT-4. Sometimes the files were added by the user directly from the command line or using the in-chat `/add` command. Other times GPT-4 requests to see other files in the repo, and they are added after the user approves. - `aider` will note when source files are added to the chat session. Once added, these files are available for review and editing by GPT-4. Files can be added from the command line, or in-chat with the `/add` command. Sometimes GPT-4 requests to see specific files, and `aider` adds them after the user approves.
- Code edits that GPT-4 suggests are automatically applied to the source files by `aider`. - Code edits that GPT-4 suggests are automatically applied to the source files by `aider`.
- After applying the edits, `aider` will commit them to git with a senisble commit message. - After applying the edits, `aider` will commit them to git with a senisble commit message.