mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-22 05:14:59 +00:00
does not work
This commit is contained in:
parent
62c41c6b5b
commit
8e0498a35f
1 changed files with 8 additions and 2 deletions
10
coder.py
10
coder.py
|
@ -112,12 +112,16 @@ Make the requested changes to {fname.name} and output the changed code.
|
||||||
MAKE NO OTHER CHANGES!
|
MAKE NO OTHER CHANGES!
|
||||||
JUST OUTPUT CODE.
|
JUST OUTPUT CODE.
|
||||||
NO EXPLANATIONS.
|
NO EXPLANATIONS.
|
||||||
|
IF NO CHANGES ARE NEEDED, JUST OUTPUT: NONE
|
||||||
'''
|
'''
|
||||||
)
|
)
|
||||||
]
|
]
|
||||||
dump(messages)
|
dump(messages)
|
||||||
|
|
||||||
new_content = chat.send(messages)
|
new_content = chat.send(messages)
|
||||||
|
if new_content.strip() == 'NONE':
|
||||||
|
return
|
||||||
|
|
||||||
if new_content.startswith('```\n'):
|
if new_content.startswith('```\n'):
|
||||||
new_content = new_content[4:]
|
new_content = new_content[4:]
|
||||||
if new_content.endswith('```'):
|
if new_content.endswith('```'):
|
||||||
|
@ -134,10 +138,12 @@ chat.file(dname / 'chat.css')
|
||||||
chat.file(dname / 'chat.js')
|
chat.file(dname / 'chat.js')
|
||||||
|
|
||||||
chat.request('''
|
chat.request('''
|
||||||
Right now the speaker icons come after the text in each speech bubble.
|
Every time I click on the speaker, it adds ANOTHER speaker icon.
|
||||||
Move all the speaker icons so they come before the text.
|
Clicking the icon should just speak the text, it should not add additional speaker icons.
|
||||||
|
Fix this bug.
|
||||||
''')
|
''')
|
||||||
|
|
||||||
chat.plan()
|
chat.plan()
|
||||||
|
input()
|
||||||
|
|
||||||
chat.update_files()
|
chat.update_files()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue