Fixed an issue determining the server responsiveness after a configuration. release-10.1.2

Mon, 23 Sep 2024 15:34:19 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 23 Sep 2024 15:34:19 +0200
changeset 51
f8d0b051bee9
parent 50
5db03b5a968a
child 52
a34eebd2d6ef

Fixed an issue determining the server responsiveness after a configuration.

OllamaInterface/OllamaClient.py file | annotate | diff | comparison | revisions
PluginAiOllama.py file | annotate | diff | comparison | revisions
PluginAiOllama.zip file | annotate | diff | comparison | revisions
changelog.md file | annotate | diff | comparison | revisions
--- a/OllamaInterface/OllamaClient.py	Wed Sep 18 13:12:28 2024 +0200
+++ b/OllamaInterface/OllamaClient.py	Mon Sep 23 15:34:19 2024 +0200
@@ -570,7 +570,10 @@
             self.__heartbeatTimer.start()
         else:
             self.__heartbeatTimer.stop()
-            self.serverStateChanged.emit(True, "")
+
+        # do one initial heartbeat
+        self.__serverResponding = None
+        self.__periodicHeartbeat()
 
     @pyqtSlot()
     def __periodicHeartbeat(self):
--- a/PluginAiOllama.py	Wed Sep 18 13:12:28 2024 +0200
+++ b/PluginAiOllama.py	Mon Sep 23 15:34:19 2024 +0200
@@ -33,7 +33,7 @@
     "author": "Detlev Offenbach <detlev@die-offenbachs.de>",
     "autoactivate": True,
     "deactivateable": True,
-    "version": "10.1.1",
+    "version": "10.1.2",
     "className": "PluginOllamaInterface",
     "packageName": "OllamaInterface",
     "shortDescription": "Graphical 'ollama' client for eric-ide.",
Binary file PluginAiOllama.zip has changed
--- a/changelog.md	Wed Sep 18 13:12:28 2024 +0200
+++ b/changelog.md	Mon Sep 23 15:34:19 2024 +0200
@@ -1,6 +1,10 @@
 ChangeLog
 ---------
 
+__Version 10.1.2__
+
+- bug fixes
+
 __Version 10.1.1__
 
 - bug fixes

eric ide

mercurial