From e4d875ca71ac4615ac19bf4a102dde492574ff10 Mon Sep 17 00:00:00 2001 From: thedragonsinn <98635854+thedragonsinn@users.noreply.github.com> Date: Fri, 14 Feb 2025 14:52:25 +0530 Subject: [PATCH] try to fix gpt formatting --- app/plugins/ai/openai.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/plugins/ai/openai.py b/app/plugins/ai/openai.py index 7cff31a..68092c2 100644 --- a/app/plugins/ai/openai.py +++ b/app/plugins/ai/openai.py @@ -1,4 +1,4 @@ -from base64 import b64decode +from base64 import b64decode from io import BytesIO from os import environ @@ -94,7 +94,7 @@ async def chat_gpt(bot: BOT, message: Message): response = chat_completion.choices[0].message.content await message.reply( - text=f"**>\n{prompt}\n<**\n**GPT**:**>\n{response}\n<**", + text=f"**>\n••>{prompt}<**\n**>{response}\n<**", parse_mode=ParseMode.MARKDOWN, )