aic: disable filesize limit

This commit is contained in:
thedragonsinn
2025-03-18 17:56:56 +05:30
parent aa0ae2545a
commit df456373a5

View File

@@ -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