Merge remote-tracking branch 'origin/main' into Model-loading-test

This commit is contained in:
milo 2025-05-14 21:00:15 -04:00
commit e02852fb45
3 changed files with 4 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 183 KiB

View file

@ -102,6 +102,10 @@ async def on_message(message):
async with message.channel.typing():
reply = get_ai_response(prompt, context=formatted_context)
await message.channel.send(reply)
if prompt:
async with message.channel.typing(): # 👈 Typing indicator!
response = get_ai_response(prompt)
await message.channel.send(response)
await bot.process_commands(message)