mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-25 06:44:59 +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
|
interrupted = True
|
||||||
|
|
||||||
if not silent:
|
if not silent:
|
||||||
# TODO: self.partial_response_function_call
|
# TODO...
|
||||||
self.io.ai_output(self.partial_response_content)
|
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
|
return interrupted
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue