llama.cpp/common
Kartik Gulia 5bd90fa0e4
common : implement named tool choice (#31564)
* common : implement named tool choice for automatic parsers

* common : add qwen3-coder support

* common : remove redundant condition

* common : set parallel_tool_calls to false for named tool

* common : implement tool choice allowed subset

* cleanup

* fix formatting + move validation to common

* more formatting >_<
2026-11-25 10:39:09 +02:00
..
jinja chat : pass reasoning_effort = none if supported (#32763) 2026-11-21 15:27:25 -06:00
parsers chat : improve inkling parser/grammar (#32833) 2026-11-23 09:54:42 +02:00
arg.cpp ui: add --ui-agent for agent mode without server tools or the MCP proxy (#33004) 2026-11-25 07:08:29 +01:00
arg.h server: support /models/sse on single-model mode (#32398) 2026-11-22 17:52:56 +01:00
base64.hpp llava : expose as a shared library for downstream projects (#3613) 2023-11-07 00:36:23 +03:00
build-info.cpp.in common : make build info output stream configurable (#28322) 2026-09-04 09:13:20 +03:00
build-info.h common : make build info output stream configurable (#28322) 2026-09-04 09:13:20 +03:00
chat-auto-parser-generator.cpp common : implement named tool choice (#31564) 2026-11-25 10:39:09 +02:00
chat-auto-parser-helpers.cpp chat: replace output string with parts (#30389) 2026-10-14 01:03:56 +02:00
chat-auto-parser-helpers.h chat : avoid including json in chat.h (#21306) 2026-04-03 09:07:59 +03:00
chat-auto-parser.h chat : implement token aware parsing (#29307) 2026-11-22 11:36:03 -06:00
chat-diff-analyzer.cpp common: add json.h abstraction (#27511) 2026-08-22 16:28:28 +02:00
chat-peg-parser.cpp common : implement named tool choice (#31564) 2026-11-25 10:39:09 +02:00
chat-peg-parser.h common : implement named tool choice (#31564) 2026-11-25 10:39:09 +02:00
chat-tts-norm.cpp mtmd: support tiny-voca (#32427) 2026-11-18 00:04:15 +01:00
chat-tts-norm.h mtmd: support tiny-voca (#32427) 2026-11-18 00:04:15 +01:00
chat.cpp common : implement named tool choice (#31564) 2026-11-25 10:39:09 +02:00
chat.h common : implement named tool choice (#31564) 2026-11-25 10:39:09 +02:00
CMakeLists.txt cmake : include the llguidance header from the source tree (#32928) 2026-11-24 20:31:24 +02:00
common.cpp server : enable packing for d1-2B and d1-Omni-2B models (#32553) 2026-11-18 20:15:43 +01:00
common.h ui: add --ui-agent for agent mode without server tools or the MCP proxy (#33004) 2026-11-25 07:08:29 +01:00
console.cpp cli: exit on stdin EOF and drop the console wide Ctrl+C broadcast (#29722) 2026-09-30 16:24:46 +02:00
console.h cli : add command and file auto-completion (#19985) 2026-03-05 10:47:28 +01:00
debug.cpp common: fix missing exports in llama-common (#22340) 2026-04-27 08:06:39 +03:00
debug.h common: fix missing exports in llama-common (#22340) 2026-04-27 08:06:39 +03:00
download.cpp server: support /models/sse on single-model mode (#32398) 2026-11-22 17:52:56 +01:00
download.h server: fix SSRF for CORS proxy and media URLs (#32115) 2026-11-12 12:33:48 +01:00
file-lock.cpp common : allow concurrent downloads across processes (#29312) 2026-10-23 23:52:56 +02:00
file-lock.h common : allow concurrent downloads across processes (#29312) 2026-10-23 23:52:56 +02:00
fit.cpp feat: external PLE file loading (#31185) 2026-11-09 19:41:01 +01:00
fit.h feat: external PLE file loading (#31185) 2026-11-09 19:41:01 +01:00
hf-cache.cpp common : drop u8path() and use generic_string() (#31681) 2026-11-05 08:37:59 +01:00
hf-cache.h common : allow concurrent downloads across processes (#29312) 2026-10-23 23:52:56 +02:00
http.h server: fix SSRF for CORS proxy and media URLs (#32115) 2026-11-12 12:33:48 +01:00
imatrix-loader.cpp quantize: add option to automatically choose optimal quant types to reach a file/bpw target size at lowest error (#15550) 2026-11-23 18:06:26 +01:00
imatrix-loader.h quantize: add option to automatically choose optimal quant types to reach a file/bpw target size at lowest error (#15550) 2026-11-23 18:06:26 +01:00
json-schema-to-grammar.cpp chat : implement token aware parsing (#29307) 2026-11-22 11:36:03 -06:00
json-schema-to-grammar.h common, grammar: add recursive depth limit, make it a requirement (#31153) 2026-10-25 23:53:08 +01:00
json-schema.cpp common : accept boolean "value": true JSON schema (#32908) 2026-11-25 10:35:44 +02:00
json-schema.h chat : refactor gemma4 to build loose schema rules and clean up (#31915) 2026-11-12 09:44:42 +02:00
json.cpp common: json.h: fix clang lto (#27575) 2026-08-23 01:11:10 +02:00
json.h json: Fixed json enum handling (#28518) 2026-09-21 10:32:07 +02:00
llguidance.cpp llama : support multi-output backend sampling (#25532) 2026-08-10 16:58:56 +03:00
log.cpp tests : consolidate context state tests into test-llama-context (#30023) 2026-10-13 16:21:55 +03:00
log.h tests : consolidate context state tests into test-llama-context (#30023) 2026-10-13 16:21:55 +03:00
ngram-cache.cpp common : read ngram cache parts by reference instead of copying (#30061) 2026-10-16 10:06:32 +03:00
ngram-cache.h spec : add self‑speculative decoding (no draft model required) + refactor (#18471) 2026-01-28 19:42:42 +02:00
ngram-map.cpp speculative : fix out-of-bounds read in ngram-map on prompt shrink (#23936) 2026-07-07 10:25:04 +03:00
ngram-map.h fix: correct misspellings in code comments (#21217) 2026-03-31 13:50:51 +02:00
ngram-mod.cpp ngram-mod : Add missing include (#23857) 2026-05-29 09:21:37 +03:00
ngram-mod.h ngram-mod : fix build [no ci] (#19216) 2026-01-30 21:27:27 +02:00
peg-parser.cpp chat : implement token aware parsing (#29307) 2026-11-22 11:36:03 -06:00
peg-parser.h chat : implement token aware parsing (#29307) 2026-11-22 11:36:03 -06:00
preset.cpp common : drop u8path() and use generic_string() (#31681) 2026-11-05 08:37:59 +01:00
preset.h common : use fs::path for config dir (#29649) 2026-09-29 17:22:49 +02:00
reasoning-budget.cpp chat : implement token aware parsing (#29307) 2026-11-22 11:36:03 -06:00
reasoning-budget.h common : add support for multiple end sequences in the reasoning budget sampler (#25544) 2026-07-25 11:58:09 +02:00
sampling.cpp server : return 400 when grammar and ignore_eos are on (#32377) 2026-11-17 17:03:21 +01:00
sampling.h chat : refactor API (#30210) 2026-10-09 10:06:22 -05:00
speculative.cpp feat: Inkling 2 DSpark support (#32218) 2026-11-24 21:11:46 +01:00
speculative.h spec + model: refactor DFlash based speculative decoding methods (#32016) 2026-11-14 09:49:27 +01:00
subproc.cpp common: add subproc.h wrapper, disabled on android/ios (#26102) 2026-07-26 20:54:25 +02:00
subproc.h common: add subproc.h wrapper, disabled on android/ios (#26102) 2026-07-26 20:54:25 +02:00
trie.cpp chat : implement token aware parsing (#29307) 2026-11-22 11:36:03 -06:00
trie.h chat : implement token aware parsing (#29307) 2026-11-22 11:36:03 -06:00
unicode.cpp common/peg : handle invalid utf-8 sequences in the AST (#29161) 2026-09-20 06:51:40 -05:00
unicode.h common/peg : handle invalid utf-8 sequences in the AST (#29161) 2026-09-20 06:51:40 -05:00
win-app.manifest cmake : embed an app manifest in all Windows exes (#31329) 2026-10-30 10:56:53 +01:00