The Codex tic-tac-toe run (job 943) ended after 4 minutes: the model wrote the whole index.html in one tool call, hit the runtime's 4096-token output cap three times (tool call unterminated -> response.failed 'tool parameter is incomplete', then 'incomplete: max_output_tokens' -> turn.failed -> Codex exit 1). The Original server has no such cap (max_tokens 0 = the rest of the context). RuntimeServer, the engine request check, strata-next's runtime default, the leleka-deploy generated config and the examples now use leleka_backend_api::MAX_OUTPUT_TOKENS = 32768. /v1/status keeps the Python server's key set when no prefix cache exists (http_surface golden regressed with the prefix-cache merge). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
21 lines
616 B
JSON
21 lines
616 B
JSON
{
|
|
"bind": "127.0.0.1:8081",
|
|
"api_key_file": "/etc/leleka/api-key",
|
|
"model": "qwen-iq3",
|
|
"shutdown_grace_s": 10,
|
|
"runtime": {
|
|
"address": "127.0.0.1:18766",
|
|
"token_env": "LELEKA_RUNTIME_TOKEN",
|
|
"tokenizer_dir": "/absolute/path/to/tokenizer",
|
|
"model": {
|
|
"family": "qwen4exp",
|
|
"architecture": "qwen4exp",
|
|
"weight_format": "gguf:iq3_s",
|
|
"artifact_digest": "sha256:80d5e3333801cedbca81a5c19c24ed6bb48fd56977acd190318f66b23a1766a3"
|
|
},
|
|
"mode": {"type": "mtp", "profile_id": "qwen4exp-kar-ple-mtp-v1"},
|
|
"max_context": 262144,
|
|
"max_output_tokens": 32768
|
|
}
|
|
}
|