]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
`server`: fix format of streamed tool call deltas (diff name, fix id location) (...
authorOlivier Chafik <redacted>
Mon, 26 May 2025 13:56:49 +0000 (06:56 -0700)
committerGitHub <redacted>
Mon, 26 May 2025 13:56:49 +0000 (14:56 +0100)
commitd74e94c1b3ac02db01e47008e1f8d371029d81ac
tree4afd590f47f222181337fd8246870134dc335371
parentf13847cfb560d92492b480cca2c5d6aa9473cde3
`server`: fix format of streamed tool call deltas (diff name, fix id location) (#13800)

* fix deltas of tool_call.function.name

* fix tool_call.id (was in tool_call.function.id!) + add function type

* add tool_call.type

* populate empty tool_call.function.arguments on first delta
common/chat.cpp
tests/test-chat.cpp
tools/server/tests/utils.py