summaryrefslogtreecommitdiffhomepage
path: root/GLOSSARY.md
diff options
context:
space:
mode:
authorAdam Malczewski <[email protected]>2026-06-21 23:12:32 +0900
committerAdam Malczewski <[email protected]>2026-06-21 23:12:32 +0900
commit62ea07f56ff066bbf05041aadf8006cbc65e5c53 (patch)
tree4fd89929053fb853e4f6d904b7f89a399ffc90f5 /GLOSSARY.md
parente2f7ce2782b46619442d422743ecb8959fd4fc59 (diff)
downloaddispatch-62ea07f56ff066bbf05041aadf8006cbc65e5c53.tar.gz
dispatch-62ea07f56ff066bbf05041aadf8006cbc65e5c53.zip
fix(transport-http): stream /chat response instead of buffering
The /chat endpoint was buffering the entire turn before returning the response, which meant X-Conversation-Id was not available until the turn finished. This prevented the CLI --open flag from firing until after the turn completed. Now the response is a ReadableStream that: - Returns X-Conversation-Id header immediately - Streams NDJSON events as they arrive from the orchestrator - Closes the stream when the turn completes (or errors) - Records throughput after stream close (non-blocking) This fixes: dispatch <model> --text '...' --open now opens the frontend tab immediately, not after the turn finishes.
Diffstat (limited to 'GLOSSARY.md')
0 files changed, 0 insertions, 0 deletions