mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 00:35:00 +00:00
copy
This commit is contained in:
parent
0d7813f09c
commit
5fe853f9ca
2 changed files with 4 additions and 4 deletions
|
@ -1,13 +1,13 @@
|
|||
# Using `aider` chat to code with GPT-4
|
||||
|
||||
Below are some example transcripts that show how you can chat with
|
||||
Below are some example chat transcripts that show how you can chat with
|
||||
the `aider` command line tool
|
||||
to generate and edit code with GPT-4.
|
||||
|
||||
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 are added directly from the command line. Other times GPT-4 requests to see them, and they are added after the user approves.
|
||||
- It will automatically apply code edits proposed by GPT-4 to the source files.
|
||||
- `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 are added directly from the command line. Other times GPT-4 requests to see other files in the repo, and they are added after the user approves.
|
||||
- Code edits proposed by GPT-4 are applied to the source files by `aider`.
|
||||
- After applying the edits, `aider` will commit them to git with a senisble commit message.
|
||||
|
||||
## Example chat transcripts
|
||||
|
|
|
@ -8,7 +8,7 @@ In this chat transcript, the user asks aider to make a simple flask app with var
|
|||
> hello-world-flask$ aider app.py
|
||||
> Creating app.py
|
||||
> Added app.py to the chat
|
||||
---
|
||||
|
||||
#### > make a flask app with a /hello endpoint that returns hello world
|
||||
|
||||
To create a Flask app with a `/hello` endpoint that returns "Hello, World!", we need to install Flask, import it, create an app instance, and define a route for the `/hello` endpoint. Here's how to update the `app.py` file:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue