aider/examples/hello-world-flask.md
Paul Gauthier 11f8beae1d better
2023-05-12 15:21:46 -07:00

809 B

Aider chat started at 2023-05-12 15:21:36

This tool will almost certainly fail to work with gpt-3.5-turbo
Creating /Users/gauthier/tmp/flask/app.py
Loading /Users/gauthier/tmp/flask/app.py
Files not tracked in /Users/gauthier/tmp/flask/.git:
- app.py
Add them? yes
Added app.py to the git repo
Committed new files with message: Initial commit: Added new files to the git repo: app.py


> make a flask app with a /hello endpoint that returns hello world

Ok, here are the changes:

app.py
<<<<<<< ORIGINAL

=======
from flask import Flask

app = Flask(__name__)

@app.route('/hello')
def hello():
    return 'Hello, World!'
>>>>>>> UPDATED

Applied edit to app.py
44be789 aider: Added /hello endpoint that returns "Hello, World!" to app.py.