Let 'rich' use code_theme as inline_code_theme

This commit is contained in:
Vamsi Talupula 2025-06-08 17:30:12 +05:30
parent 837b8a93e9
commit 4c50fc6d69

View file

@ -1001,7 +1001,11 @@ class InputOutput:
self.console.print(*messages, style=style)
def get_assistant_mdstream(self):
mdargs = dict(style=self.assistant_output_color, code_theme=self.code_theme)
mdargs = dict(
style=self.assistant_output_color,
code_theme=self.code_theme,
inline_code_lexer="text",
)
mdStream = MarkdownStream(mdargs=mdargs)
return mdStream