Browse Source

fixed changing default model to ollama

pull/343/head
Jonathan Dunn 11 months ago
parent
commit
198ba8c9ee
  1. 3
      installer/client/cli/utils.py

3
installer/client/cli/utils.py

@ -304,7 +304,8 @@ class Standalone:
import ollama import ollama
try: try:
if self.args.remoteOllamaServer: remoteOllamaServer = getattr(self.args, 'remoteOllamaServer', None)
if remoteOllamaServer:
client = ollama.Client(host=self.args.remoteOllamaServer) client = ollama.Client(host=self.args.remoteOllamaServer)
default_modelollamaList = client.list()['models'] default_modelollamaList = client.list()['models']
else: else:

Loading…
Cancel
Save