Replies: 2 comments 3 replies
-
In case 1), how do we figure out where the Ollama executable is? The user is more likely to run the installer on Windows, but on mac it's probably a Reusing the data (models etc.) is easier. I think that means we can delay running the installer (to what we already have before the hooks), but still run the uninstaller. The uninstaller wouldn't have any UI, but that should be fine. |
Beta Was this translation helpful? Give feedback.
-
While I agree that we should implement this in a way to not interfere/overwrite an existing Ollama installation, I am not sure about the benefits of offering a choice to install in a normal location or a Rancher Desktop chosen location, keeping in mind the additional efforts required to develop/maintain the two options. IMO, below behavior should work for most people. if Ollama is already available on the host machine, just use it and don't do anything to Ollama on the extension uninstall |
Beta Was this translation helpful? Give feedback.
-
There are 2 scenarios: (1) the user already has Ollama installed, or (2) they do not.
In the first case I think we would always re-use the existing installation. That means additional downloaded models will be merged in with their other models, and we will never uninstall Ollama nor remove the models.
If the user doesn't have an Ollama install, then there are 2 options again: (1) We install Ollama and the models in the default location, just like above, or (2) we install them into a Rancher Desktop specific location that will be deleted when the user uninstalls the extension (or performs a factory reset).
I do think that we need to offer both choices here.
I think the clearest way to implement this would be to postpone the Ollama installation until the user opens the extension for the first time. If Ollama is not yet installed, the user will get a screen giving them both options, and explaining the consequences of each option.
This is somewhat similar to how the Epinio extension makes you install the server part explicitly:
Beta Was this translation helpful? Give feedback.
All reactions