fix: Remove subject from chat history entry

This commit is contained in:
Paul Gauthier 2024-08-21 05:24:54 -07:00 committed by Paul Gauthier (aider)
parent 95d1ea37be
commit 7e6794d2c7

View file

@ -384,7 +384,7 @@ class InputOutput:
else:
res = prompt(question + " ", default=default)
hist = f"{subject + ': ' if subject else ''}{question.strip()} {res.strip()}"
hist = f"{question.strip()} {res.strip()}"
self.append_chat_history(hist, linebreak=True, blockquote=True)
if self.yes in (True, False):
self.tool_output(hist)