Browse Source

fixed local models

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

2
installer/client/cli/utils.py

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

Loading…
Cancel
Save