Fix model listing logic
This commit is contained in:
parent
e7bd7fc24f
commit
883968b8aa
1 changed files with 1 additions and 1 deletions
|
|
@ -318,7 +318,7 @@
|
|||
(tags-payload (nth 1 (split-string raw-response "\n\n")))
|
||||
(models (gethash "models" (json-parse-string tags-payload)))
|
||||
(model-names (mapcar (lambda (model) (gethash "name" model)) models)))
|
||||
model-names))
|
||||
(mapcar #'intern model-names)))
|
||||
|
||||
(defun enrich-ollama-models (available library)
|
||||
"Enrich the available models with metadata from the library of known models."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue