diff --git a/installer/client/cli/utils.py b/installer/client/cli/utils.py index 86923d4..bc5721b 100644 --- a/installer/client/cli/utils.py +++ b/installer/client/cli/utils.py @@ -311,7 +311,8 @@ class Standalone: import ollama try: - if self.args.remoteOllamaServer: + remoteOllamaServer = getattr(self.args, 'remoteOllamaServer', None) + if remoteOllamaServer: client = ollama.Client(host=self.args.remoteOllamaServer) default_modelollamaList = client.list()['models'] else: