【BUG反馈】新建会话的时候,接口返回错误 #5381
Replies: 1 comment
|
I don't speak Chinese, so I translated your question to understand the issue. I'll reply in English to avoid introducing any ambiguity through translation — I hope that's clear. From the error response, this looks quite specific: The issue appears to be that the new-session request is still asking for the old preset id DeepSeek Harness recently renamed the If {
"agentPreset": "code"
}change it to: {
"agentPreset": "ptc"
}If you don't specifically need to choose a preset, another option is to omit This also seems consistent with your observation that you had been using forked sessions and therefore hadn't noticed the problem before. The normal session creation path passes the requested Forking works differently: it derives the preset/composition from the source session rather than relying on the same new-session preset value. So an existing session using a valid or inherited preset can continue to fork successfully while creating a fresh session fails because the client is still sending I would check this first:
If it does, that should be the root cause. If the request already contains |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
这个问题不知道怎么产生的,我一直使用分叉会话,所以没有发现。
现在新建会话就会出现这个错误导致新建失败。
/api/session/create
All reactions