-
Notifications
You must be signed in to change notification settings - Fork 445
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
feat:delete ollama models #458
feat:delete ollama models #458
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Summary
This pull request implements the ability to delete Ollama models, addressing issue #452 by adding new IPC handlers and UI components for model deletion.
- Added new IPC handlers in
electron/main/llm/ipcHandlers.ts
for fetching available models and deleting LLMs - Exposed new functions
deleteLLM
andgetAvailableModels
to the renderer process inelectron/preload/index.ts
- Updated
DefaultLLMSelector
component insrc/components/Settings/LLMSettings/DefaultLLMSelector.tsx
to include a delete option for Ollama models - Modified
useLLMConfigs
hook insrc/components/Settings/LLMSettings/hooks/use-llm-configs.ts
to allow direct updates to LLM configurations - Consider improving error handling and user feedback for model deletion operations
4 file(s) reviewed, 7 comment(s)
Edit PR Review Bot Settings | Greptile
@joseplayero , I've worked on the addressed review comments. Please take a look! |
fixes #452
/claim #452