mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-02 18:54:59 +00:00
feat: add user input logging and history for /run command responses
This commit is contained in:
parent
92667c7963
commit
9c35556c2a
2 changed files with 3 additions and 3 deletions
|
@ -739,6 +739,9 @@ class Commands:
|
|||
else:
|
||||
add = True
|
||||
instructions = response
|
||||
if response.strip():
|
||||
self.io.user_input(response, log_only=True)
|
||||
self.io.add_to_input_history(response)
|
||||
|
||||
if add:
|
||||
for line in combined_output.splitlines():
|
||||
|
|
|
@ -481,9 +481,6 @@ class InputOutput:
|
|||
else:
|
||||
res = prompt(question + " ", default=default, style=style)
|
||||
|
||||
if res.strip():
|
||||
self.user_input(res, log_only=True)
|
||||
|
||||
hist = f"{question.strip()} {res.strip()}"
|
||||
self.append_chat_history(hist, linebreak=True, blockquote=True)
|
||||
if self.yes in (True, False):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue