diff -r d807aa8c1bd8 -r f4d5108e90fe PluginAiOllama.py --- a/PluginAiOllama.py Tue Sep 03 15:51:28 2024 +0200 +++ b/PluginAiOllama.py Tue Sep 03 17:06:05 2024 +0200 @@ -41,6 +41,7 @@ "Plug-in implementing an 'ollama' client and interface widgets." ), "needsRestart": False, + "hasCompiledForms": True, "pyqtApi": 2, } # End-Of-Header @@ -136,6 +137,8 @@ "OllamaHeartbeatInterval": 5, # 5 seconds heartbeat time; 0 = disabled "StreamingChatResponse": True, "OllamaModelLibraryUrl": "https://ollama.com/library", + "OllamaDownloadUrl": "https://ollama.com/download", + "OllamaBlogUrl": "https://ollama.com/blog", } self.__translator = None @@ -287,7 +290,12 @@ self.PreferencesKey + "/" + key, self.__defaults[key] ) ) - elif key in ("OllamaHost", "OllamaModelLibraryUrl"): + elif key in ( + "OllamaHost", + "OllamaModelLibraryUrl", + "OllamaDownloadUrl", + "OllamaBlogUrl", + ): value = Preferences.Prefs.settings.value( self.PreferencesKey + "/" + key, self.__defaults[key] )