fix code block formatting

This commit is contained in:
thedragonsinn
2025-02-09 09:07:39 +05:30
parent 1483efec04
commit c7de415c7e

View File

@@ -158,4 +158,4 @@ def get_response_text(response, quoted: bool = False):
final_text = (text.strip() + sources).strip()
return f"**>\n{final_text}<**" if quoted else final_text
return f"**>\n{final_text}<**" if quoted and "```" not in final_text else final_text