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