Olivier Chafik
63e489c025
tool-call: refactor common chat / tool-call api (+ tests / fixes) (#11900)
* tool-call refactoring: moved common_chat_* to chat.h, common_chat_templates_init return a unique_ptr to opaque type
* addressed clang-tidy lints in [test-]chat.*
* rm minja deps from util & common & move it to common/minja/
* add name & tool_call_id to common_chat_msg
* add common_chat_tool
* added json <-> tools, msgs conversions to chat.h
* fix double bos/eos jinja avoidance hack (was preventing inner bos/eos tokens)
* fix deepseek r1 slow test (no longer <think> opening w/ new template)
* allow empty tools w/ auto + grammar
* fix & test server grammar & json_schema params w/ & w/o --jinja
2025-02-18 18:03:23 +00:00
..
2024-03-09 14:17:11 +02:00
2025-02-02 09:55:32 +02:00
2024-01-26 14:18:00 +02:00
2024-01-26 14:18:00 +02:00
2024-11-07 17:31:10 -04:00
2024-11-25 09:58:41 +02:00
2025-01-12 11:32:42 +02:00
2025-02-17 07:55:57 +01:00
2024-11-03 19:34:08 +01:00
2024-01-29 15:50:50 -05:00
2025-02-18 18:03:23 +00:00
2025-02-18 18:03:23 +00:00
2024-07-12 10:46:02 +03:00
2025-02-12 10:06:53 -04:00
2025-02-02 09:55:32 +02:00
2025-02-02 09:55:32 +02:00
2024-09-07 15:16:19 +03:00
2025-02-02 09:55:32 +02:00
2024-12-19 17:42:13 +02:00
2024-10-10 22:57:42 +02:00
2025-01-15 18:28:35 +02:00
2025-01-06 10:55:18 +02:00
2024-11-17 08:30:29 +02:00
2024-11-25 15:17:32 +02:00
2024-11-17 08:30:29 +02:00
2024-12-14 14:43:46 +02:00
2025-02-13 08:45:57 +02:00
2025-01-12 11:32:42 +02:00
2024-05-05 08:07:48 +03:00
2024-05-28 15:04:09 +03:00
2025-01-12 11:32:42 +02:00
2025-01-12 11:32:42 +02:00
2025-01-12 11:32:42 +02:00