llama.cpp/tools/server/tests/unit
Olivier Chafik aa48e373f2
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 <sigbjorn.skjaeret@scala.com>

* generate more tokens in test_completion_with_required_tool_tiny_fast to avoid truncation

---------

Co-authored-by: ochafik <ochafik@google.com>
Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com>
2025-05-15 02:39:51 +01:00
..
test_basic.py llama : move end-user examples to tools directory (#13249) 2025-05-02 20:27:13 +02:00
test_chat_completion.py llama : move end-user examples to tools directory (#13249) 2025-05-02 20:27:13 +02:00
test_completion.py server : fix cache_tokens bug with no cache_prompt (#13533) 2025-05-14 13:35:07 +02:00
test_ctx_shift.py llama : move end-user examples to tools directory (#13249) 2025-05-02 20:27:13 +02:00
test_embedding.py llama : move end-user examples to tools directory (#13249) 2025-05-02 20:27:13 +02:00
test_infill.py llama : move end-user examples to tools directory (#13249) 2025-05-02 20:27:13 +02:00
test_lora.py llama : move end-user examples to tools directory (#13249) 2025-05-02 20:27:13 +02:00
test_rerank.py llama : move end-user examples to tools directory (#13249) 2025-05-02 20:27:13 +02:00
test_security.py llama : move end-user examples to tools directory (#13249) 2025-05-02 20:27:13 +02:00
test_slot_save.py llama : move end-user examples to tools directory (#13249) 2025-05-02 20:27:13 +02:00
test_speculative.py llama : move end-user examples to tools directory (#13249) 2025-05-02 20:27:13 +02:00
test_template.py server: inject date_string in llama 3.x template + fix date for firefunction v2 (#12802) 2025-05-15 02:39:51 +01:00
test_tokenize.py llama : move end-user examples to tools directory (#13249) 2025-05-02 20:27:13 +02:00
test_tool_call.py server: inject date_string in llama 3.x template + fix date for firefunction v2 (#12802) 2025-05-15 02:39:51 +01:00
test_vision_api.py server : vision support via libmtmd (#12898) 2025-05-09 19:29:37 +02:00