From ae48a1730104b63c826318e099d00016edd676fb Mon Sep 17 00:00:00 2001 From: jeffser Date: Wed, 29 May 2024 12:04:05 -0600 Subject: [PATCH] Check if remote instance is connected at start when the toggle is on --- src/window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/window.py b/src/window.py index 715af1c..df62306 100644 --- a/src/window.py +++ b/src/window.py @@ -896,7 +896,7 @@ class AlpacaWindow(Adw.ApplicationWindow): local_instance.start() connection_handler.url = f"http://127.0.0.1:{local_instance.port}" self.welcome_dialog.present(self) - if self.verify_connection() is False and self.run_remote == False: self.connection_error() + if self.verify_connection() is False: self.connection_error() self.update_list_available_models() self.load_history() self.update_chat_list()