From 6abf71367bdb436b15c9a1f7b3e6a7314cf307e5 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Sun, 9 Jul 2023 06:48:12 -0700 Subject: [PATCH] added divs --- examples/2048-game.md | 3 ++- examples/add-test.md | 4 +++- examples/asciinema.md | 3 ++- examples/census.md | 5 ++++- examples/chat-transcript-css.md | 6 +++++- examples/complex-change.md | 4 +++- examples/css-exercises.md | 4 ---- examples/hello-world-flask.md | 5 ++++- examples/no-color.md | 6 +++++- examples/pong.md | 4 +++- examples/semantic-search-replace.md | 3 ++- examples/update-docs.md | 4 +++- 12 files changed, 36 insertions(+), 15 deletions(-) diff --git a/examples/2048-game.md b/examples/2048-game.md index 7b0d84525..bb4f154d9 100644 --- a/examples/2048-game.md +++ b/examples/2048-game.md @@ -5,7 +5,7 @@ In this chat transcript, the user explores and modifies an open source [javascri Notice that GPT-4 asks to see a particular source file, and aider automatically includes it in the chat session after getting permission from the user. -## Chat transcript +
> $ aider @@ -83,3 +83,4 @@ This change will give the user a 10x bonus 10% of the time when two tiles merge. > Applied edit to js/game_manager.js > Commit eb9d882 aider: Added a 10% chance of giving the user a 10x bonus when two tiles merge. +
diff --git a/examples/add-test.md b/examples/add-test.md index 06188d2ba..cada5104b 100644 --- a/examples/add-test.md +++ b/examples/add-test.md @@ -28,7 +28,7 @@ GPT reviews the error message and fixes the call to `cmd_add()` to correctly pass a `str` with a space-separated list of filenames instead. The test then passes on the next `/run`. -## Chat transcript +
> $ aider tests/test_commands.py > Creating empty file tests/test_commands.py @@ -169,3 +169,5 @@ pytest tests/test_commands.py > > ============================== 1 passed in 0.38s =============================== > ``` + +
diff --git a/examples/asciinema.md b/examples/asciinema.md index 599febaaf..afb664f8c 100644 --- a/examples/asciinema.md +++ b/examples/asciinema.md @@ -3,7 +3,7 @@ The user needs to make some tedious edits to the escape sequences in an `asciinema` screencast file. -## Chat transcript +
> $ aider hello.cast > Added hello.cast to the chat @@ -23,3 +23,4 @@ hello.cast > Commit a3fa4d2 aider: Removed escape codes to display prompt and cursor correctly. +
diff --git a/examples/census.md b/examples/census.md index 5ba5f0b13..8988010b9 100644 --- a/examples/census.md +++ b/examples/census.md @@ -8,7 +8,7 @@ I asked GPT-4 how to download census data and to suggest some hypotheses to test. I asked it to write the code to get the data, test one of the hypotheses and provide a summary and plot of the results. -## Chat transcript +
> $ aider > Using git repo: .git @@ -299,4 +299,7 @@ This will create a scatter plot of population density and housing prices, which > Applied edit to new_file/getdata.py > Commit 9ff3666 aider: Added scatter plot of population density and housing prices to visualize correlation. + +
+ ![aider screenshot](../assets/figure.png) diff --git a/examples/chat-transcript-css.md b/examples/chat-transcript-css.md index 63d65b9da..96e4f4f98 100644 --- a/examples/chat-transcript-css.md +++ b/examples/chat-transcript-css.md @@ -1,6 +1,8 @@ # Improve css styling of chat transcripts +
+ > $ aider index.html assets/css/style.css > Added index.html to the chat > Added assets/css/style.css to the chat @@ -446,4 +448,6 @@ index.html > Applied edit to index.html > Commit 6a8cd27 aider: Added box around h4 element. -> ^C again to quit + + +
diff --git a/examples/complex-change.md b/examples/complex-change.md index bb6b61857..df2d21321 100644 --- a/examples/complex-change.md +++ b/examples/complex-change.md @@ -8,7 +8,7 @@ Some things to notice: - The user edits a file outside the chat using their editor. `aider` notices these out-of-band changes and offers to commit them. - At one point the user hits `^C` to interrupt the GPT-4 response, since it's not a useful response. The user gives clarifications and gets a better result on the next reply. -## Chat transcript +
> $ aider tests/test_main.py aider/getinput.py > Added tests/test_main.py to the chat @@ -349,3 +349,5 @@ These changes will replace the usage of `create_pipe_input()` with `create_input I'm glad the changes worked for you! If you have any more requests or need further assistance, feel free to ask. + +
diff --git a/examples/css-exercises.md b/examples/css-exercises.md index 824d2de2c..7a361965d 100644 --- a/examples/css-exercises.md +++ b/examples/css-exercises.md @@ -3,8 +3,6 @@ In this chat transcript, the user asks about the open source [CSS Exercises repo](https://github.com/TheOdinProject/css-exercises) and completes an animation exercise. -## Chat transcript -
> $ aider @@ -76,6 +74,4 @@ These changes add the bounce animation to the dropdown menu by creating a new ke I'm glad the changes worked for you! If you have any more requests or need assistance with other parts of the code, feel free to ask. I'm here to help! -> ^C again to quit -
diff --git a/examples/hello-world-flask.md b/examples/hello-world-flask.md index 545389d38..af52a7a2a 100644 --- a/examples/hello-world-flask.md +++ b/examples/hello-world-flask.md @@ -3,7 +3,7 @@ In this chat transcript, the user asks to make a simple flask app with various endpoints. -## Chat transcript +
> $ aider app.py > Creating empty file app.py @@ -119,3 +119,6 @@ Now, the `/hello` endpoint has been removed from the Flask app. > Applied edit to app.py > Commit eab6620 aider: Removed the `/hello` endpoint from the Flask app. + + +
diff --git a/examples/no-color.md b/examples/no-color.md index b51ac6b98..8cc3042ce 100644 --- a/examples/no-color.md +++ b/examples/no-color.md @@ -10,7 +10,8 @@ set, so the tool conforms to the specification. The user then asks for a test case, which GPT adds as well. -## Chat transcript +
+ > $ aider > Using git repo: .git > Use /help to see in-chat commands. @@ -154,3 +155,6 @@ This test function checks if the `pretty` attribute of the `InputOutput` class i > ============================== 25 passed in 1.41s ============================== > > Add the output to the chat? y + + +
diff --git a/examples/pong.md b/examples/pong.md index 709a0ec27..d5268563f 100644 --- a/examples/pong.md +++ b/examples/pong.md @@ -4,7 +4,7 @@ In this chat transcript, the user asks to make a pong game using pygame. After setting up a basic game, the user asks for some customization of the colors and game mechanics. -## Chat transcript +
> $ aider @@ -300,3 +300,5 @@ With this change, the ball's speed will increase by 10% in both the x and y dire > Applied edit to pong_game.py > Commit 693faf4 aider: Increased ball speed by 10% in both x and y directions each time it bounces off a paddle. + +
diff --git a/examples/semantic-search-replace.md b/examples/semantic-search-replace.md index 7525a7cc2..212a7dff3 100644 --- a/examples/semantic-search-replace.md +++ b/examples/semantic-search-replace.md @@ -7,7 +7,7 @@ Making the change requires dealing with various formatting and semantic differen Some edits were elided from this transcript for brevity. -## Chat transcript +
> $ aider aider/coder.py > Added aider/coder.py to the chat @@ -53,3 +53,4 @@ Please note that I couldn't find the `self.io.tool_error()` method in the provid > Commit 919cfc2 aider: Replaced all self.console.print() calls with self.io.tool_error() calls with [red] removed from the string. +
diff --git a/examples/update-docs.md b/examples/update-docs.md index 72619bc69..ca956b5f8 100644 --- a/examples/update-docs.md +++ b/examples/update-docs.md @@ -2,7 +2,7 @@ In this chat transcript, the user asks to automatically update the Usage docs based on the latest version of the main() function in the code. -## Chat transcript +
> $ aider ./README.md aider/main.py > Added README.md to the chat @@ -34,3 +34,5 @@ README.md > Applied edit to README.md > Commit 024f45e aider: Updated command line arguments in main() and updated README.md to accurately describe them. + +