Repository navigation
Add temporary recovery for malformed or truncated DSML/tool calls #8192
Closed
XuZhangxing
started this conversation in
Ideas
Replies: 1 comment
|
10月15日发现没有这个问题了 |
0 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
Idea: Add temporary recovery for malformed or truncated DSML/tool calls
I would like to suggest a temporary recovery mechanism for malformed or truncated tool calls.
A related issue has already been reported in the DeepSeek-V3 repository:
Response prematurely terminates with
FINISHEDstatusIn that issue, the model can terminate early around DSML/tool-call-related content while the response is still incomplete.
I observed related behavior in Harness with both
deepseek-flashanddeepseek-v4-pro. In some cases, malformed tool-call output results in:I understand that the underlying problem may need to be fixed on the model side. But as a temporary mitigation, could Harness detect malformed/incomplete tool calls and:
The goal is simply:
This could provide a useful defensive layer while the underlying model-side issue is being investigated.
Session日志.zip
All reactions