]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
`tool-call`: fix llama 3.x and functionary 3.2, play nice w/ pydantic_ai package...
authorOlivier Chafik <redacted>
Fri, 31 Jan 2025 14:15:25 +0000 (14:15 +0000)
committerGitHub <redacted>
Fri, 31 Jan 2025 14:15:25 +0000 (14:15 +0000)
commita83f528688324a21484a97af1d1be5e1bc8d4c8e
treefa5e2f76ad45018f28881738b17ae9c3b3995254
parentb1bcd309fc8ac929cbd4a6207b3a19886bda031f
`tool-call`: fix llama 3.x and functionary 3.2, play nice w/ pydantic_ai package, update readme (#11539)

* An empty tool_call_id is better than none!

* sync: minja (tool call name optional https://github.com/google/minja/pull/36)

* Force-disable parallel_tool_calls if template doesn't support it

* More debug logs

* Llama 3.x tools: accept / trigger on more varied spaced outputs

* Fix empty content for functionary v3.2 tool call

* Add proper tool call docs to server README

* readme: function calling *is* supported now

* Apply suggestions from code review

Co-authored-by: Georgi Gerganov <redacted>
---------

Co-authored-by: Georgi Gerganov <redacted>
common/chat-template.hpp
common/chat.cpp
examples/server/README.md
examples/server/server.cpp
examples/server/utils.hpp