diff --git a/src/connection_handler.py b/src/connection_handler.py index 9249c6c..ae10274 100644 --- a/src/connection_handler.py +++ b/src/connection_handler.py @@ -92,6 +92,7 @@ class instance(): self.idle_timer.start() def start(self): + self.stop() if shutil.which('ollama'): if not os.path.isdir(os.path.join(cache_dir, 'tmp/ollama')): os.mkdir(os.path.join(cache_dir, 'tmp/ollama'))