mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 14:25:00 +00:00
set mdargs on init
This commit is contained in:
parent
da131da427
commit
580c52bd85
2 changed files with 17 additions and 18 deletions
|
@ -726,7 +726,8 @@ class Coder:
|
|||
|
||||
def show_send_output_stream(self, completion):
|
||||
if self.show_pretty():
|
||||
mdstream = MarkdownStream()
|
||||
mdargs = dict(style=self.assistant_output_color, code_theme=self.code_theme)
|
||||
mdstream = MarkdownStream(mdargs=mdargs)
|
||||
else:
|
||||
mdstream = None
|
||||
|
||||
|
@ -773,8 +774,7 @@ class Coder:
|
|||
if not show_resp:
|
||||
return
|
||||
|
||||
mdargs = dict(style=self.assistant_output_color, code_theme=self.code_theme)
|
||||
mdstream.update(show_resp, mdargs=mdargs, final=final)
|
||||
mdstream.update(show_resp, final=final)
|
||||
|
||||
def render_incremental_response(self, final):
|
||||
return self.partial_response_content
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue