[headless] TRANSPORT: DeepSeek API stream fails on the LLM round after a tool call succeeds #978
niyongsheng
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Bug: [headless] TRANSPORT — DeepSeek API stream fails on the LLM round after a tool call succeeds
Environment: dsh 0.1.0-rc.6 (dsh-llm-deepseek / dsh-headless same), macOS 26.5.2, Node v25.9.0, model
deepseek-v4-flash,reasoningEffort: high,maxTokens: 256000Reproduction
ctx.tools.register()into theheadlessprofile (dsh plugin add file:<path>+insertentry incordis.patch.yml).dsh --profile headless "调用 ocr_image 识别 /path/to/image.png,输出识别内容"Expected
Agent completes the task after the tool result.
Actual
Step 1 succeeds (model emits tool call → tool executes → result returned), but every subsequent LLM request fails with
TRANSPORT(3 retries, all fail). Pure-conversation tasks (single round, no tools) succeed.Session log timeline (one run):
Observations
"Hello Vision 123"); the failing request is the round that carries the tool result back to the model.LlmError ... "TRANSPORT", cause: errorin dsh-llm-deepseek) — not an HTTP-status rejection, so the upstream cause isn't visible in the session log.Happy to provide the full session JSONL or run with tracing if useful.
All reactions