llama_cpp_for_radxa_dragon_.../common
Pascal 6ce3d85796
server: (webui) add --webui-config (#18028)
* server/webui: add server-side WebUI config support

Add CLI arguments --webui-config (inline JSON) and --webui-config-file
(file path) to configure WebUI default settings from server side.

Backend changes:
- Parse JSON once in server_context::load_model() for performance
- Cache parsed config in webui_settings member (zero overhead on /props)
- Add proper error handling in router mode with try/catch
- Expose webui_settings in /props endpoint for both router and child modes

Frontend changes:
- Add 14 configurable WebUI settings via parameter sync
- Add tests for webui settings extraction
- Fix subpath support with base path in API calls

Addresses feedback from @ngxson and @ggerganov

* server: address review feedback from ngxson

* server: regenerate README with llama-gen-docs
2025-12-17 21:45:45 +01:00
..
arg.cpp server: (webui) add --webui-config (#18028) 2025-12-17 21:45:45 +01:00
arg.h arg: fix common_params_parse not accepting negated arg (#17991) 2025-12-13 12:53:37 +01:00
base64.hpp
build-info.cpp.in
chat-parser-xml-toolcall.cpp
chat-parser-xml-toolcall.h
chat-parser.cpp
chat-parser.h
chat-peg-parser.cpp common : add nemotron 3 parsing (#18077) 2025-12-16 04:05:23 -06:00
chat-peg-parser.h
chat.cpp common : add nemotron 3 parsing (#18077) 2025-12-16 04:05:23 -06:00
chat.h
CMakeLists.txt
common.cpp common: clarify instructions for bug reports (#18134) 2025-12-17 18:44:13 +01:00
common.h server: (webui) add --webui-config (#18028) 2025-12-17 21:45:45 +01:00
console.cpp
console.h
download.cpp
download.h
http.h
json-partial.cpp
json-partial.h
json-schema-to-grammar.cpp common : add nemotron 3 parsing (#18077) 2025-12-16 04:05:23 -06:00
json-schema-to-grammar.h common : add nemotron 3 parsing (#18077) 2025-12-16 04:05:23 -06:00
llguidance.cpp
log.cpp
log.h
ngram-cache.cpp
ngram-cache.h
peg-parser.cpp common : add nemotron 3 parsing (#18077) 2025-12-16 04:05:23 -06:00
peg-parser.h
preset.cpp preset: handle negated arg, reverse the meaning if needed (#18041) 2025-12-14 22:08:10 +01:00
preset.h
regex-partial.cpp
regex-partial.h
sampling.cpp common : restore grammar-based rejection sampling (#18137) 2025-12-17 19:46:00 +02:00
sampling.h common : restore grammar-based rejection sampling (#18137) 2025-12-17 19:46:00 +02:00
speculative.cpp common : restore grammar-based rejection sampling (#18137) 2025-12-17 19:46:00 +02:00
speculative.h
unicode.cpp
unicode.h