Browse Source

fixed local models

pull/199/head
Jonathan Dunn 1 year ago
parent
commit
6712759c50
  1. 2
      installer/client/cli/utils.py

2
installer/client/cli/utils.py

@ -279,7 +279,7 @@ class Standalone:
try: try:
default_modelollamaList = ollama.list()['models'] default_modelollamaList = ollama.list()['models']
for model in default_modelollamaList: for model in default_modelollamaList:
fullOllamaList.append(model['name'].split(":")[0]) fullOllamaList.append(model['name'])
except: except:
fullOllamaList = [] fullOllamaList = []
return gptlist, fullOllamaList, claudeList return gptlist, fullOllamaList, claudeList

Loading…
Cancel
Save