mirror of
https://github.com/danielmiessler/fabric
synced 2024-11-10 07:10:31 +00:00
fixed local models
This commit is contained in:
parent
24e1616864
commit
6712759c50
@ -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…
Reference in New Issue
Block a user