mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 14:25:00 +00:00
Log the explanation
to the chat history file
This commit is contained in:
parent
3702ea3aa2
commit
8517681f02
1 changed files with 9 additions and 2 deletions
|
@ -487,8 +487,15 @@ class Coder:
|
|||
interrupted = True
|
||||
|
||||
if not silent:
|
||||
# TODO: self.partial_response_function_call
|
||||
self.io.ai_output(self.partial_response_content)
|
||||
# TODO...
|
||||
if self.partial_response_content:
|
||||
self.io.ai_output(self.partial_response_content)
|
||||
elif self.partial_response_function_call:
|
||||
args = self.parse_partial_args()
|
||||
if args:
|
||||
explanation = args.get("explanation")
|
||||
if explanation:
|
||||
self.io.ai_output(explanation)
|
||||
|
||||
return interrupted
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue