]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
server : validate --tools CLI argument against known tool names (#22538)
authorGeorgi Gerganov <redacted>
Tue, 5 May 2026 03:35:27 +0000 (06:35 +0300)
committerGitHub <redacted>
Tue, 5 May 2026 03:35:27 +0000 (06:35 +0300)
commit2bacb1eb77d07dd9f9685cd524f6cd9a342d639b
treec522532c44a57f163cb950c2fdc36620d71306c1
parentd6e7b033a42b2880496d1e9db1df5527e48a8869
server : validate --tools CLI argument against known tool names (#22538)

Previously, unknown tool names passed via --tools were silently ignored.
Now the server validates each tool name at startup and exits with an
error if an unrecognized tool is specified, listing the available tools.

Assisted-by: llama.cpp:local pi
tools/server/server-tools.cpp
tools/server/server.cpp