mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-25 06:44:59 +00:00
log with_message
This commit is contained in:
parent
f23327ecf9
commit
9e506cccb0
2 changed files with 4 additions and 2 deletions
|
@ -279,6 +279,7 @@ class Coder:
|
|||
try:
|
||||
if with_message:
|
||||
new_user_message = with_message
|
||||
self.io.user_input(with_message)
|
||||
else:
|
||||
new_user_message = self.run_loop()
|
||||
|
||||
|
|
|
@ -182,7 +182,10 @@ class InputOutput:
|
|||
break
|
||||
|
||||
print()
|
||||
self.user_input(inp)
|
||||
return inp
|
||||
|
||||
def user_input(self, inp):
|
||||
prefix = "####"
|
||||
if inp:
|
||||
hist = inp.splitlines()
|
||||
|
@ -195,8 +198,6 @@ class InputOutput:
|
|||
{prefix} {hist}"""
|
||||
self.append_chat_history(hist, linebreak=True)
|
||||
|
||||
return inp
|
||||
|
||||
# OUTPUT
|
||||
|
||||
def ai_output(self, content):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue