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

LLM component continues to download model when removing it #153

Open
SubatomicPlanets opened this issue May 15, 2024 · 0 comments
Open

LLM component continues to download model when removing it #153

SubatomicPlanets opened this issue May 15, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@SubatomicPlanets
Copy link

SubatomicPlanets commented May 15, 2024

Describe the bug

When removing the LLM component while it's downloading a model it will continue to download it. When adding it back while it's still downloading in the background it does not give any visual feedback on this. When selecting the model again, it will download it again. Weird stuff also happens when copying the component while it's downloading a model. I do not know a good way of fixing this. Maybe cancel active model downloads when the component is removed (if that is even possible)? Or even better check if a model is currently being downloaded before trying to download it (this would also help when having 2 LLM components for some reason: you click download on one and when clicking download on the second LLM component it will not download it since it's already being downloaded)

This is not too important since I do not believe anyone will ever try to copy or remove the component while it's downloading a model, but I think it's still a small bug to be aware of.

Steps to reproduce

Add a LLM component in the scene and download any model. While it's downloading remove the component or copy and paste it.

LLMUnity version

1.2.7

Operating System

Windows

@SubatomicPlanets SubatomicPlanets added the bug Something isn't working label May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant