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

Added Ollama Model Check for installed models #140

Merged
merged 2 commits into from
Nov 4, 2024

Conversation

Madhav160804
Copy link
Contributor

@Madhav160804 Madhav160804 commented Nov 4, 2024

Before calling the ollama chat function , the code is fetching the list of installed models on the system and checks if the selected model is present in the list if not then gives instructions on how to install the ollama model and also the list of installed models on the system.
Also added error handling for the case when the ollama service is not running then display the error accordingly to the user.
Issue #89
image
image

@andrewpareles
Copy link
Contributor

Nice!

@andrewpareles andrewpareles merged commit 791f6b1 into voideditor:main Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants