Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Added Ollama Model Check for installed models#140

Merged
andrewpareles merged 2 commits intovoideditor:mainfrom
Madhav160804:ollama-model-selection
Nov 4, 2024
Merged

Added Ollama Model Check for installed models#140
andrewpareles merged 2 commits intovoideditor:mainfrom
Madhav160804:ollama-model-selection

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