From df456373a5b49ff195382aeee5a2996f85cd7d62 Mon Sep 17 00:00:00 2001 From: thedragonsinn <98635854+thedragonsinn@users.noreply.github.com> Date: Tue, 18 Mar 2025 17:56:56 +0530 Subject: [PATCH] `aic`: disable filesize limit --- app/plugins/ai/text_query.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/plugins/ai/text_query.py b/app/plugins/ai/text_query.py index 90b9a0c..524cfd4 100644 --- a/app/plugins/ai/text_query.py +++ b/app/plugins/ai/text_query.py @@ -155,7 +155,9 @@ async def do_convo(chat: AsyncChat, message: Message): ) try: - prompt = await create_prompts(message=prompt_message, is_chat=True) + prompt = await create_prompts( + message=prompt_message, is_chat=True, check_size=False + ) except Exception as e: _, prompt_message = await convo_obj.send_message( text=str(e), @@ -164,6 +166,9 @@ async def do_convo(chat: AsyncChat, message: Message): get_response=True, disable_preview=True, ) + prompt = await create_prompts( + message=prompt_message, is_chat=True, check_size=False + ) reply_to_id = prompt_message.id