Browse Source

fixed changing default model to ollama

pull/343/head
Jonathan Dunn 10 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
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:

Loading…
Cancel
Save