llama_cpp_for_radxa_dragon_.../tools
SATISH K C fcc2d598c8
fix: include API key in CORS proxy requests for MCP connections (#21193)
* fix: include API key in CORS proxy requests for MCP connections

When llama-server is started with --api-key-file and --webui-mcp-proxy,
the /cors-proxy endpoint requires authentication. The WebUI was not
including the Authorization header in proxy requests, causing MCP
connections to fail with 401.

Inject getAuthHeaders() into requestInit when useProxy is true so the
proxy request carries the Bearer token alongside the forwarded target
headers.

Fixes #21167

* fix: simplify headers assignment based on reviewer suggestion

Apply buildProxiedHeaders only when useProxy is true, pass headers
directly to the transport otherwise.
2026-03-31 10:52:34 +02:00
..
batched-bench
cli cli : add /glob command (#21084) 2026-03-28 02:33:04 +01:00
completion completion : session_tokens insert range in completion tool (no-op → correct) (#20917) 2026-03-27 09:25:58 +01:00
cvector-generator
export-lora
fit-params
gguf-split gguf-split : clarify operation of gguf-split (#19749) 2026-03-25 13:12:50 +02:00
imatrix imatrix : fix crash when using --show-statistics with zero counts (#19532) 2026-03-26 08:14:36 +01:00
llama-bench llama-bench: print -n-cpu-moe when offloaded layers > 1 (#20984) 2026-03-25 21:17:27 +08:00
mtmd mtmd: add more sanity checks (#21047) 2026-03-27 11:00:52 +01:00
parser common/parser: add proper reasoning tag prefill reading (#20424) 2026-03-19 16:58:21 +01:00
perplexity tools : enable kvu in perplexity for hellaswag, winogrande, multiple-choice (#19954) 2026-03-13 21:25:57 +01:00
quantize llama-quant : fail early on missing imatrix, refactor type selection, code cleanup (#19770) 2026-03-10 08:16:05 +02:00
results llama: end-to-end tests (#19802) 2026-03-08 12:30:21 +01:00
rpc
server fix: include API key in CORS proxy requests for MCP connections (#21193) 2026-03-31 10:52:34 +02:00
tokenize
tts
CMakeLists.txt llama: end-to-end tests (#19802) 2026-03-08 12:30:21 +01:00