Skip to content

Commit

Permalink
fixed something with llama models
Browse files Browse the repository at this point in the history
  • Loading branch information
xssdoctor committed Mar 11, 2024
1 parent 9b26ca6 commit 220bb4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion installer/client/cli/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ def fetch_available_models(self):
try:
default_modelollamaList = ollama.list()['models']
for model in default_modelollamaList:
fullOllamaList.append(model['name'].rstrip(":latest"))
fullOllamaList.append(model['name'].split(":")[0])
except:
fullOllamaList = []
return gptlist, fullOllamaList, claudeList
Expand Down

0 comments on commit 220bb4e

Please sign in to comment.