mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-05 12:14:59 +00:00
copy
This commit is contained in:
parent
c16210cdd7
commit
65f9d39d95
1 changed files with 1 additions and 2 deletions
|
@ -276,7 +276,7 @@ You can also script aider from python:
|
||||||
from aider.coders import Coder
|
from aider.coders import Coder
|
||||||
|
|
||||||
# This is a list of files to add to the chat
|
# This is a list of files to add to the chat
|
||||||
fnames = ['foo.py']
|
fnames = ["foo.py"]
|
||||||
|
|
||||||
# Create a coder object
|
# Create a coder object
|
||||||
coder = Coder.create(fnames=fnames)
|
coder = Coder.create(fnames=fnames)
|
||||||
|
@ -286,5 +286,4 @@ coder.run("make a script that prints hello world")
|
||||||
|
|
||||||
# Send another instruction
|
# Send another instruction
|
||||||
coder.run("make it say goodbye")
|
coder.run("make it say goodbye")
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue