-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Got it working, how do I set default prompts, names? #17
Comments
Hi, I've just released an update to the bot which should fix all these errors. It's tough keeping up to date with webui because it changes so much. |
Thanks for the update however it still does not work even with the amendmants. I keep having the following errors. ERROR [2023-06-05 13:41:10]: Ignoring exception in on_message (Line: 515 in on_error, client.py ) I have tried 3 models so far, one was working temporarily but stopped. I am now trying the GGML model which you recommended. This is my last attempt to try and get this working. I'm ready to give up. So demoralized. |
I decided to try and use your install batch file this time with a fresh install. I used the GGML model which you recommended. I followed the instructions carefully and I have a Nvidia card. My web UI works perfectly. I kept getting this error and have concluded that this bot no longer works. Traceback (most recent call last): |
that's strange because other people are able to use the new installers without issue. I'm trying to reproduce, but in the meantime, could you try to reinstall once more and this time, copy-paste the install log here? There might be an error with installing the llama_cpp library during installation |
I've reinstalled with the latest installer, using the GGML model that I recommended, and didn't have any issues (Windows 11 and Nvidia). Don't give up! We'll figure this out. If you prefer to talk about this in real time, you can join my Discord server https://discord.gg/TcRGDV754Y |
Well I managed to get it working, thanks for not giving up on me. The bot is connecting successfully and processing text so that's great news. Is there any way to permanently save the prompt, name and llama name so I do not have to keep typing in the prompt every time I start the bot up? Thanks again. |
ERROR:Ignoring exception in command reset
Traceback (most recent call last):
File "C:\Users\Me\AppData\Roaming\Python\Python310\site-packages\discord\app_commands\commands.py", line 842, in _do_call
return await self._callback(interaction, **params) # type: ignore
File "D:\AI\oobabooga\text-generation-webui\bot.py", line 370, in reset
clear_chat_log(your_name, llamas_name, "", "","cai-chat")
TypeError: clear_chat_log() takes 2 positional arguments but 5 were given
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\Me\AppData\Roaming\Python\Python310\site-packages\discord\ext\commands\hybrid.py", line 438, in _invoke_with_namespace
value = await self._do_call(ctx, ctx.kwargs) # type: ignore
File "C:\Users\Me\AppData\Roaming\Python\Python310\site-packages\discord\app_commands\commands.py", line 856, in _do_call
raise CommandInvokeError(self, e) from e
discord.app_commands.errors.CommandInvokeError: Command 'reset' raised an exception: TypeError: clear_chat_log() takes 2 positional arguments but 5 were given
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\Me\AppData\Roaming\Python\Python310\site-packages\discord\ext\commands\hybrid.py", line 438, in _invoke_with_namespace
value = await self._do_call(ctx, ctx.kwargs) # type: ignore
File "C:\Users\Me\AppData\Roaming\Python\Python310\site-packages\discord\app_commands\commands.py", line 856, in _do_call
raise CommandInvokeError(self, e) from e
discord.ext.commands.errors.HybridCommandError: Hybrid command raised an error: Command 'reset' raised an exception: TypeError: clear_chat_log() takes 2 positional arguments but 5 were given
[2023-05-26 00:40:32] [ERROR ] discord.ext.commands.bot: Ignoring exception in command reset
Traceback (most recent call last):
File "C:\Users\Me\AppData\Roaming\Python\Python310\site-packages\discord\app_commands\commands.py", line 842, in _do_call
return await self._callback(interaction, **params) # type: ignore
File "D:\AI\oobabooga\text-generation-webui\bot.py", line 370, in reset
clear_chat_log(your_name, llamas_name, "", "","cai-chat")
TypeError: clear_chat_log() takes 2 positional arguments but 5 were given
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\Me\AppData\Roaming\Python\Python310\site-packages\discord\ext\commands\hybrid.py", line 438, in _invoke_with_namespace
value = await self._do_call(ctx, ctx.kwargs) # type: ignore
File "C:\Users\Me\AppData\Roaming\Python\Python310\site-packages\discord\app_commands\commands.py", line 856, in _do_call
raise CommandInvokeError(self, e) from e
discord.app_commands.errors.CommandInvokeError: Command 'reset' raised an exception: TypeError: clear_chat_log() takes 2 positional arguments but 5 were given
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\Me\AppData\Roaming\Python\Python310\site-packages\discord\ext\commands\hybrid.py", line 438, in _invoke_with_namespace
value = await self._do_call(ctx, ctx.kwargs) # type: ignore
File "C:\Users\Me\AppData\Roaming\Python\Python310\site-packages\discord\app_commands\commands.py", line 856, in _do_call
raise CommandInvokeError(self, e) from e
discord.ext.commands.errors.HybridCommandError: Hybrid command raised an error: Command 'reset' raised an exception: TypeError: clear_chat_log() takes 2 positional arguments but 5 were given
ERROR:Ignoring exception in command reset
Traceback (most recent call last):
File "C:\Users\Me\AppData\Roaming\Python\Python310\site-packages\discord\app_commands\commands.py", line 842, in _do_call
return await self._callback(interaction, **params) # type: ignore
File "D:\AI\oobabooga\text-generation-webui\bot.py", line 370, in reset
clear_chat_log(your_name, llamas_name, "", "","cai-chat")
TypeError: clear_chat_log() takes 2 positional arguments but 5 were given
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\Me\AppData\Roaming\Python\Python310\site-packages\discord\ext\commands\hybrid.py", line 438, in _invoke_with_namespace
value = await self._do_call(ctx, ctx.kwargs) # type: ignore
File "C:\Users\Me\AppData\Roaming\Python\Python310\site-packages\discord\app_commands\commands.py", line 856, in _do_call
raise CommandInvokeError(self, e) from e
discord.app_commands.errors.CommandInvokeError: Command 'reset' raised an exception: TypeError: clear_chat_log() takes 2 positional arguments but 5 were given
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\Me\AppData\Roaming\Python\Python310\site-packages\discord\ext\commands\hybrid.py", line 438, in _invoke_with_namespace
value = await self._do_call(ctx, ctx.kwargs) # type: ignore
File "C:\Users\Me\AppData\Roaming\Python\Python310\site-packages\discord\app_commands\commands.py", line 856, in _do_call
raise CommandInvokeError(self, e) from e
discord.ext.commands.errors.HybridCommandError: Hybrid command raised an error: Command 'reset' raised an exception: TypeError: clear_chat_log() takes 2 positional arguments but 5 were given
[2023-05-26 00:40:47] [ERROR ] discord.ext.commands.bot: Ignoring exception in command reset
Traceback (most recent call last):
File "C:\Users\Me\AppData\Roaming\Python\Python310\site-packages\discord\app_commands\commands.py", line 842, in _do_call
return await self._callback(interaction, **params) # type: ignore
File "D:\AI\oobabooga\text-generation-webui\bot.py", line 370, in reset
clear_chat_log(your_name, llamas_name, "", "","cai-chat")
TypeError: clear_chat_log() takes 2 positional arguments but 5 were given
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\Me\AppData\Roaming\Python\Python310\site-packages\discord\ext\commands\hybrid.py", line 438, in _invoke_with_namespace
value = await self._do_call(ctx, ctx.kwargs) # type: ignore
File "C:\Users\Me\AppData\Roaming\Python\Python310\site-packages\discord\app_commands\commands.py", line 856, in _do_call
raise CommandInvokeError(self, e) from e
discord.app_commands.errors.CommandInvokeError: Command 'reset' raised an exception: TypeError: clear_chat_log() takes 2 positional arguments but 5 were given
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\Me\AppData\Roaming\Python\Python310\site-packages\discord\ext\commands\hybrid.py", line 438, in _invoke_with_namespace
value = await self._do_call(ctx, ctx.kwargs) # type: ignore
File "C:\Users\Me\AppData\Roaming\Python\Python310\site-packages\discord\app_commands\commands.py", line 856, in _do_call
raise CommandInvokeError(self, e) from e
discord.ext.commands.errors.HybridCommandError: Hybrid command raised an error: Command 'reset' raised an exception: TypeError: clear_chat_log() takes 2 positional arguments but 5 were given
The text was updated successfully, but these errors were encountered: