mercm8 / chat-llama-discord-bot

A Discord Bot for chatting with LLaMA, Vicuna, Alpaca, or any other LLM supported by text-generation-webui or llama.cpp.
https://discord.gg/TcRGDV754Y
MIT License
16 stars 4 forks source link

Extensions touch up & Update to Ooba git #10

Closed MuXodious closed 1 year ago

MuXodious commented 1 year ago

I didn't notice some part of the code to support cli-arguments and extensions was already in the bot.py. This PR is to remove the unnecessary lines of code and touch up the part where extensions are loaded. I think some recent changes to the bot broke compatibility with some extensions, like google_translate. Something is stopping the extension from hijacking the user prompt and generated output. It might be the way text generation is handelled. I'm looking into that, but still too far from figuring it out.

This should also make the bot work with Ooba's lastest git. Tested on git 134430b.