added divs

This commit is contained in:
Paul Gauthier 2023-07-09 06:48:12 -07:00
parent 6b43fdac4a
commit 6abf71367b
12 changed files with 36 additions and 15 deletions

View file

@ -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
<div class="chat-transcript" markdown="1">
> $ 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.
</div>

View file

@ -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
<div class="chat-transcript" markdown="1">
> $ 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 ===============================
> ```
</div>

View file

@ -3,7 +3,7 @@
The user needs to make some tedious edits to the escape sequences in an `asciinema` screencast file.
## Chat transcript
<div class="chat-transcript" markdown="1">
> $ 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.
</div>

View file

@ -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
<div class="chat-transcript" markdown="1">
> $ 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.
</div>
![aider screenshot](../assets/figure.png)

View file

@ -1,6 +1,8 @@
# Improve css styling of chat transcripts
<div class="chat-transcript" markdown="1">
> $ 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
</div>

View file

@ -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
<div class="chat-transcript" markdown="1">
> $ 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.
</div>

View file

@ -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
<div class="chat-transcript" markdown="1">
> $ 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
</div>

View file

@ -3,7 +3,7 @@
In this chat transcript, the user asks to make a simple flask app with various endpoints.
## Chat transcript
<div class="chat-transcript" markdown="1">
> $ 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.
</div>

View file

@ -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
<div class="chat-transcript" markdown="1">
> $ 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
</div>

View file

@ -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
<div class="chat-transcript" markdown="1">
> $ 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.
</div>

View file

@ -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
<div class="chat-transcript" markdown="1">
> $ 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.
</div>

View file

@ -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
<div class="chat-transcript" markdown="1">
> $ 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.
</div>