llama.cpp
tool-call: refactor common chat / tool-call api (+ tests / fixes)
#11900
Merged
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Overview
Commits
43
Changes
View On
GitHub
tool-call: refactor common chat / tool-call api (+ tests / fixes)
#11900
ochafik
merged 43 commits into
ggml-org:master
from
ochafik:chat-cleanups
address clang-tidy lints
36092aa1
tool-call: massive refactoring
ef9b91ac
rm minja dep from util & common
2f683f08
move minja to common/minja
7a04ebcb
Update utils.hpp
ece941b8
add common_chat_tool
aa09a3ca
force utf8 encoding in get_chat_template
7ae75600
fix json tools parsing
646528a5
add json tools / messages parsing helpers to common
db2b44eb
fix common_chat_msgs_parse_oaicompat
c7c89070
concat multipart content in legacy template path
5f17156d
add name & tool_call_id to common_chat_msg
ee9b9d69
Update test-chat.cpp
07f0ad0e
test & fix json<->msg conversions
1acda5f5
fix typo
a58e1fca
github-actions
added
script
github-actions
added
testing
github-actions
added
examples
github-actions
added
python
github-actions
added
server
fix content part string concat in legacy template branch
103c8405
test tools json conversions
c154c02a
test content parts in test-chat
3d41f1b9
fix clang-tidy lints in [test-]chat.*
59c8059d
fix deepseek r1 slow test (no longer <think> opening w/ new template)
1847cae2
fix lints in test-chat-template.cpp
8462a515
tweak test_calc_result expectations
80c432b6
fix double bos/eos jinja avoidance hack (was preventing inner bos/eos…
42b29e12
add common_chat_templates_source + rehab server template logs
ce4ccf03
fix msg lints
cb31f087
tool-call: allow empty tools w/ auto + grammar
76f5d27b
fix & test grammar & json_schema w/ & w/o --jinja
34e4e224
Update test-chat-template.cpp
1c6168bc
test & fix array message.content
ae6b870d
fix links to prepare merge
14210371
Merge remote-tracking branch 'origin/master' into chat-cleanups
d95a17ce
fix merge
5a5ed7bf
rm trailing spaces
dd5ef85f
Add missing <optional> include to chat.cpp
2f2f0fa1
ochafik
changed the title
tool-call: refactor common chat / tool-call api
tool-call: refactor common chat / tool-call api (+ tests / fixes)
1 year ago
tiny fix: somehow llama_token being defined in an extern c makes it l…
a58b9e5e
alternative fix for gcc c vs. c++ weirdness
f999ff56
add missing <regex> include to test-chat-template
55a76143
ochafik
marked this pull request as ready for review
1 year ago
ochafik
requested a review
from
ngxson
1 year ago
Update chat.hpp
9d62f62f
ggerganov
commented on 2025-02-17
have common_chat_templates_init return a unique_ptr
da0982a0
chat.{hpp -> h}
7ddb4540
ggerganov
commented on 2025-02-17
build common_chat_templates_ptr earlier
d2969b87
use deleter functor for common_chat_templates_ptr
fd2b8e10
ggerganov
approved these changes on 2025-02-18
mtmcp
commented on 2025-02-18
ngxson
commented on 2025-02-18
Merge remote-tracking branch 'origin/master' into chat-cleanups
9a854391
ochafik
merged
63e489c0
into master
1 year ago
Login to write a write a comment.
Login via GitHub
Reviewers
ggerganov
ngxson
mtmcp
Assignees
No one assigned
Labels
script
testing
examples
python
server
Milestone
No milestone
Login to write a write a comment.
Login via GitHub