Repository navigation
REQUEST_EXTENSION 失败吞掉内层原因,会话日志只留 message 与 code
#8266
Replies: 1 comment
|
Confirmed at source — with one correction to the mechanism that changes what a fix has to touch. Nothing drops the cause on the way into the log. The cause is never in the payload to begin with, and that is deliberate.
So your two observations — The choice is not an oversight. On your three suggestions:
The operational half is available today as a plugin. That single line answers the question your thread is about — which contributor failed, and with what — without reading four packages. Verified on your build: Two boundaries, so the scopes don't blur:
|
Uh oh!
There was an error while loading. Please reload this page.
环境
操作系统:Windows 11 家庭版,版本 10.0.26200,64 位,AMD64。
运行时:Node.js v26.9.0(fnm 管理)、PowerShell 7.6.6。
软件:
@deepseek-ai/dsh0.1.7-rc.2(经 npx 安装,以dsh web启动);profile 组合为@deepseek-ai/dsh-base+@deepseek-ai/dsh-web-app;dsh-llm-deepseek与dsh同版本。观测时间:2026-09-29(CST,UTC+8)。
现象
待分配-3 的失败发生时,内层异常不进入任何落账。会话日志的
assistant/attempt与llm/retry事件只含{ message: "DeepSeek request extension preparation failed", code: "REQUEST_EXTENSION" },不含内层错误的消息、类型或来源;Web UI 的呈现与之同源。排障者据此无法知道失败发生在哪个贡献者、内层错误是什么。代码证据
包装点在抛错时其实携带了内层,位置是
dsh-llm-deepseek/lib/index.js:1349的{ cause: error }。落账层不含该 cause:本机多次现场读数中,assistant/attempt的finish.reason.failure与llm/retry的failure均只有message与code两个字段。影响
错误发生时无从下手。故障的可见面是一句不含定位信息的短语,排障必须阅读多个包的源码链路。
建议
message(必要时含类型)写入失败事件落账,至少llm/retry可加一个截断字段。All reactions