[Bug]: 70 seconds delay before proceeding if using ollama
option with no internet
#347
Labels
bug
Something isn't working
ollama
option with no internet
#347
Opencommit Version
3.0.15
Node Version
20.9.0
NPM Version
10.1.0
What OS are you seeing the problem on?
Other Linux Distro
What happened?
This bug happens every time.
Expected Behavior
Generate a commit message instantly if disconnected from internet.
Current Behavior
opencommit
waits 70 seconds before generating a commit message if disconnected from internet and usingollama
option.Possible Solution
I think there's an internet connection timeout set. And we need to place
ollama
execution before this timeout.Steps to Reproduce
ollama
and pullmistral
model from the libraryoco
command to make a commitRelevant log output
No response
The text was updated successfully, but these errors were encountered: