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

allow for deletion of ollama models #452

Closed
joseplayero opened this issue Oct 15, 2024 · 5 comments · Fixed by #458
Closed

allow for deletion of ollama models #452

joseplayero opened this issue Oct 15, 2024 · 5 comments · Fixed by #458
Assignees

Comments

@joseplayero
Copy link
Collaborator

problem

can't right now delete ollama models

solution

  • use ollama npm library and call .delete method to delete model
  • create ipc handler which calls this method
  • forward ipc handler via preload to renderer process
  • in default llm dropdown in settings have a small delete icon next to ollama/local llms that calls the delete preload function
@joseplayero
Copy link
Collaborator Author

@Bhavyajain21

@Bhavyajain21
Copy link
Collaborator

Please assign @joseplayero

@Bhavyajain21
Copy link
Collaborator

Bhavyajain21 commented Oct 15, 2024

Could you please share a screenshot showing where the Ollama models can be deleted?

@joseplayero

@joseplayero
Copy link
Collaborator Author

Screenshot 2024-10-15 at 10 44 21 in settings next to only ollama models there should be a small bin icon to click and trigger the delete call through the preload. so in the image example above only llama3.2 should have a delete icon next to it

Copy link

algora-pbc bot commented Oct 18, 2024

🎉🎈 @Bhavyajain21 has been awarded $25! 🎈🎊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants