From 9a7ef18dfce7c6b94dfa33abb5b017a04f2133fe Mon Sep 17 00:00:00 2001 From: thedragonsinn <98635854+thedragonsinn@users.noreply.github.com> Date: Mon, 27 Jan 2025 15:46:14 +0530 Subject: [PATCH] gpt text formatting fix --- app/plugins/ai/openai.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/plugins/ai/openai.py b/app/plugins/ai/openai.py index 9ce5e6b..b80d1f5 100644 --- a/app/plugins/ai/openai.py +++ b/app/plugins/ai/openai.py @@ -59,5 +59,5 @@ async def chat_gpt(bot: BOT, message: Message): response = chat_completion.choices[0].message.content await message.reply( - text=f"```{prompt}```**GPT**:\n{response}", parse_mode=ParseMode.MARKDOWN + text=f"```\n{prompt}```**GPT**:\n{response}", parse_mode=ParseMode.MARKDOWN )