xNul / chat-llama-discord-bot

A Discord Bot for chatting with LLaMA, Vicuna, Alpaca, MPT, or any other Large Language Model (LLM) supported by text-generation-webui or llama.cpp.
https://discord.gg/TcRGDV754Y
MIT License
118 stars 23 forks source link

Slash commands disappears after running one the first time #2

Closed GustavRaispits closed 1 year ago

GustavRaispits commented 1 year ago

Thank you for providing a fix for the seed issue, there's still one last really strange problem I've been facing since the first time I've started to use the script.

For starting the bot.py script I use miniconda3 through the following command: python bot.py --gptq-bits 4 --model llama-13b-hf I run the script using Python 3.10.10.

For getting straight to the point, when I try to run any of the available / commands it offers they work correctly the first time, but after I try to run another / command for the second time, for some reason, every / command of the script completely disappears, making it impossible to use:

https://user-images.githubusercontent.com/34628862/227208970-7347f1b3-a25b-4bc3-a293-ac5ba29ea663.mp4

The miniconda3 prompt doesn't give any errors, so that would be useless adding a photo of it, from what I see through the prompt everything seems to work correctly and it debugs the conversation as it should do, but I can't really figure out the reason every / commands disappear after using it for one time.

I'm 100% sure to have discord.py installed on Python 3.10.10, my bot was first created one year ago so I'm sure that the issue is not related to the fact that the application is too new.

I've also gave the admin permissions to my own bot, I've been using my bot mainly for commands that are ran with /, I'm sure it is not a problem related to my bot application.

Hoping to get a fix! Thank you for providing this project

GustavRaispits commented 1 year ago

It wasn't a issue related to the script, it was a result of a conflict with another script I ran on my pc, everything is good