From 5fe853f9ca27a03f3cf7f395144fa403f719e2b7 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Sat, 13 May 2023 13:03:16 -0700 Subject: [PATCH] copy --- examples/README.md | 6 +++--- examples/hello-world-flask.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/README.md b/examples/README.md index b3f1ae7e9..e715d55b8 100644 --- a/examples/README.md +++ b/examples/README.md @@ -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 diff --git a/examples/hello-world-flask.md b/examples/hello-world-flask.md index 8c7be5c03..328831b29 100644 --- a/examples/hello-world-flask.md +++ b/examples/hello-world-flask.md @@ -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: