mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-25 14:55:00 +00:00
better progress
This commit is contained in:
parent
099ace0836
commit
e878551ac8
1 changed files with 1 additions and 1 deletions
2
coder.py
2
coder.py
|
@ -302,7 +302,7 @@ Just the content of the file!
|
||||||
dict(role = 'system', content = sys_prompt),
|
dict(role = 'system', content = sys_prompt),
|
||||||
dict(role = 'user', content = prompt),
|
dict(role = 'user', content = prompt),
|
||||||
]
|
]
|
||||||
res = self.send(messages, show_progress = len(content))
|
res = self.send(messages, show_progress = len(content) + len(edit))
|
||||||
|
|
||||||
res = res.splitlines()
|
res = res.splitlines()
|
||||||
if res[0].strip == str(fname):
|
if res[0].strip == str(fname):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue