Skip to content

Commit

Permalink
Add new ollama models to the list of function calling models (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahyatt authored Sep 29, 2024
1 parent 7ca2090 commit 406cb0d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions NEWS.org
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
* Version 0.17.5
- Update list of Ollama models for function calling.
* Version 0.17.4
- Fix problem with Open AI's =llm-chat-token-limit=.
- Fix Open AI and Gemini's parallel function calling.
Expand Down
6 changes: 4 additions & 2 deletions llm-ollama.el
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,10 @@ PROVIDER is the llm-ollama provider."
(list 'embeddings))
;; see https://ollama.com/search?c=tools
(when (string-match
(rx (or "llama3.1" "mistral-nemo" "mistral-large"
"mistral" "mixtral" "command-r-plus"
(rx (or "llama3." "mistral-nemo" "qwen2.5"
"nemotron-mini" "mistral-small"
"mistral-large"
"mistral" "mixtral" "command-r"
"llama3-groq-tool-use"
"firefunction-v2"))
(llm-ollama-chat-model provider))
Expand Down

0 comments on commit 406cb0d

Please sign in to comment.