mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 02:05:00 +00:00
added hello aider example
This commit is contained in:
parent
6ab4f09a3a
commit
b09c95c9c6
2 changed files with 26 additions and 1 deletions
25
examples/hello.md
Normal file
25
examples/hello.md
Normal file
|
@ -0,0 +1,25 @@
|
|||
# Hello aider!
|
||||
|
||||
Here is the simplest possible "hello world" example of using aider:
|
||||
|
||||
<div class="chat-transcript" markdown="1">
|
||||
|
||||
#### change hello to goodbye
|
||||
|
||||
To change the output from "hello" to "goodbye", we need to modify the `hello.py` file.
|
||||
|
||||
Here is the change:
|
||||
|
||||
```python
|
||||
hello.py
|
||||
<<<<<<< ORIGINAL
|
||||
print("hello")
|
||||
=======
|
||||
print("goodbye")
|
||||
>>>>>>> UPDATED
|
||||
```
|
||||
|
||||
> Applied edit to hello.py
|
||||
> Commit 672ae42 aider: Changed output from "hello" to "goodbye" in hello.py.
|
||||
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue