--- a/PluginAiOllama.py Wed Aug 07 18:19:25 2024 +0200 +++ b/PluginAiOllama.py Thu Aug 08 18:33:49 2024 +0200 @@ -127,6 +127,7 @@ "OllamaScheme": "http", "OllamaHost": "localhost", "OllamaPort": 11434, + "OllamaLocalPort": 11435, # port for locally started ollama server "OllamaHeartbeatInterval": 5, # 5 seconds heartbeat time; 0 = disabled "StreamingChatResponse": True, } @@ -268,7 +269,7 @@ @return the requested setting value @rtype Any """ - if key in ("OllamaPort", "OllamaHeartbeatInterval"): + if key in ("OllamaPort", "OllamaLocalPort", "OllamaHeartbeatInterval"): return int( Preferences.Prefs.settings.value( self.PreferencesKey + "/" + key, self.__defaults[key]