fixed local models

This commit is contained in:
Jonathan Dunn 2024-03-12 11:41:04 -04:00
parent 24e1616864
commit 6712759c50

View File

@ -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