Skip to content
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

[ENHANCEMENT] Condense Files, use external functions #14

Open
TecEash1 opened this issue Mar 24, 2024 · 2 comments
Open

[ENHANCEMENT] Condense Files, use external functions #14

TecEash1 opened this issue Mar 24, 2024 · 2 comments
Assignees
Labels
enhancement Development on an existing feature P2 Priority Medium

Comments

@TecEash1
Copy link
Owner

TecEash1 commented Mar 24, 2024

📋 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)

@TecEash1 TecEash1 added the enhancement Development on an existing feature label Mar 24, 2024
@TecEash1 TecEash1 self-assigned this Mar 24, 2024
@TecEash1
Copy link
Owner Author

Mostly complete, could be improved on on a later date.
481b217

@TecEash1
Copy link
Owner Author

Due to the taurusAI commands/methods using a very similar run() function this should be added to utils.js to resolve this issue completely.

@TecEash1 TecEash1 reopened this Apr 30, 2024
@TecEash1 TecEash1 added the P2 Priority Medium label May 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Development on an existing feature P2 Priority Medium
Projects
Status: Todo
Development

No branches or pull requests

1 participant