Commit Graph

4 Commits

Author SHA1 Message Date
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