]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
`server`: inject date_string in llama 3.x template + fix date for firefunction v2...
authorOlivier Chafik <redacted>
Thu, 15 May 2025 01:39:51 +0000 (02:39 +0100)
committerGitHub <redacted>
Thu, 15 May 2025 01:39:51 +0000 (02:39 +0100)
commitaa48e373f256df9608395ee6881e7010840d6202
tree4c8dd9203aa6a8f5d9d2c711d3d0bc5049455fce
parente3a9421b78da5c810d812e6348a405f5acc39f34
`server`: inject date_string in llama 3.x template + fix date for firefunction v2 (#12802)

* Inject date_string in llama 3.x + fix for functionary v2

https://github.com/ggml-org/llama.cpp/issues/12729

* move/fix detection of functionary v3.1 before llama 3.x, fix & test their non-tool mode

Co-authored-by: Sigbjørn Skjæret <redacted>
* generate more tokens in test_completion_with_required_tool_tiny_fast to avoid truncation

---------

Co-authored-by: ochafik <redacted>
Co-authored-by: Sigbjørn Skjæret <redacted>
common/chat.cpp
common/chat.h
tests/test-chat.cpp
tools/server/tests/unit/test_template.py [new file with mode: 0644]
tools/server/tests/unit/test_tool_call.py