mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 22:34:59 +00:00
Handle missing response text
This commit is contained in:
parent
3bbfebc390
commit
271807123a
1 changed files with 1 additions and 1 deletions
|
@ -655,7 +655,7 @@ class Coder:
|
|||
if self.pretty:
|
||||
show_resp = Markdown(show_resp, style=self.assistant_output_color, code_theme="default")
|
||||
else:
|
||||
show_resp = Text(show_resp)
|
||||
show_resp = Text(show_resp or "<no response>")
|
||||
|
||||
self.io.console.print(show_resp)
|
||||
self.io.console.print(tokens)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue