Commit Graph

7 Commits

Author SHA1 Message Date
41fe0788a7 add /cc-zdr, /cc-debug, /cc-status slash commands 2026-09-16 14:11:07 +00:00
0872a2099b only send x-cmd-zdr when COMMANDCODE_ZDR=1 2026-09-15 10:16:14 +00:00
10aacc619b minor 2026-09-13 22:26:54 +07:00
ab760fb876 Replay assistant reasoning as a content part for DeepSeek thinking mode
Forward each assistant reasoning part to /alpha/generate as
{type:"reasoning", text, signature?} instead of dropping it. DeepSeek
thinking mode rejects any request carrying tools whose prior assistant
turns omit their reasoning, so multi-turn tool-call conversations 400'd.
Only real (non-empty) reasoning is forwarded; no fabricated injection.
Update README and AGENTS.md accordingly.
2026-09-10 22:40:50 +07:00
0b1f933ead Add opt-in file tracing for debugging
Introduce COMMANDCODE_DEBUG=1 (and COMMANDCODE_DEBUG_FILE) to append a
request/stream trace to a log file. Trace points cover HTTP attempts
(status, retry wait, elapsed), stream event payloads, terminal finish and
usage, and redacted error bodies. Silent and no file created by default.
2026-09-10 22:27:09 +07:00
Nguyen Hong Nhat
9bcb4b43e1 Add sync-models script, server.py reference proxy, and doc updates 2026-09-10 21:25:25 +07:00
e974a37475 Document provider usage and agent guidance 2026-09-10 20:39:12 +07:00