summaryrefslogtreecommitdiffhomepage
path: root/packaging/[email protected]
diff options
context:
space:
mode:
authorAdam Malczewski <[email protected]>2026-06-03 14:55:52 +0900
committerAdam Malczewski <[email protected]>2026-06-03 14:55:52 +0900
commitbcc449a5cba183c7358ab48ed4f2140bb1a3238c (patch)
tree60e8a686d5768ff76eab805faaec7a01ec352ff5 /packaging/[email protected]
parent656aad2752991ff32e98fed270fa330355650c17 (diff)
downloaddispatch-bcc449a5cba183c7358ab48ed4f2140bb1a3238c.tar.gz
dispatch-bcc449a5cba183c7358ab48ed4f2140bb1a3238c.zip
chore(bin/up): DEBUG=1 writes LLM debug logs to /app/logging (host: logging/)
Add a DEBUG=1 convenience flag to bin/up that turns on full LLM debug logging (DISPATCH_DEBUG_LLM) plus the per-step usage/cache split (DISPATCH_DEBUG_USAGE) and routes the JSON request/response files into the container's /app/logging, which maps to the project-root logging/ dir on the host via the existing .:/app bind mount. This makes it easy to verify cache hits (including the prompt-cache warming replay) without docker exec. - bin/up: DEBUG=1 sets DISPATCH_DEBUG_LLM/_USAGE=1 and DISPATCH_DEBUG_LLM_DIR= /app/logging as DEFAULTS (explicit DISPATCH_DEBUG_* still win). Pre-creates the host log dir; /app/* targets are already host-owned so no sudo chown, while the /tmp fallback keeps its ownership fix. - docker-compose.yml: forward DISPATCH_DEBUG_LLM_DIR into the api container. - .gitignore: ignore logging/.
Diffstat (limited to 'packaging/[email protected]')
0 files changed, 0 insertions, 0 deletions