llamacppctl/scripts
dschlueter aa1a9fc232 test(smoke): probe a protected endpoint for the api-key check
llama.cpp exempts /health and /v1/models from --api-key; only
/v1/chat/completions is protected. The smoke test probed /v1/models and thus
saw 200 without a key. Probe /v1/chat/completions instead (no key -> 401,
key -> 200). Verified live end-to-end: 9 PASS, 0 FAIL.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-06 17:25:41 +02:00
..
smoke.sh test(smoke): probe a protected endpoint for the api-key check 2026-07-06 17:25:41 +02:00