Taurus
Taurus copied to clipboard
[ENHANCEMENT] Condense Files, use external functions
📋 What is the current feature?
At the moment most of the TaurusAI commands contain similar code, this code is mostly duplicated versions of each other.
🌟 How do you want it to be improved?
A utils.js file should be added and the code should be put in there and exported as async functions which can be reused in the other files. This can also be applied for the image files (such as fetching the models)
Mostly complete, could be improved on on a later date. https://github.com/TecEash1/Taurus/commit/481b217c08df8cbc78fff174c90e8ae5c5f93ff3
Due to the taurusAI commands/methods using a very similar run() function this should be added to utils.js to resolve this issue completely.