fix(workbench): seal terminal turn timing and diagnostics
This commit is contained in:
@@ -235,8 +235,8 @@ function isInternalRoute(pathname) {
|
||||
function proxyFailurePayload({ timedOut, timeoutMs, upstreamUrl, edgeTraceId }) {
|
||||
const code = timedOut ? "proxy_timeout" : "upstream_unavailable";
|
||||
const userMessage = timedOut
|
||||
? `Code Agent 代理等待上游超过 ${timeoutMs}ms;输入已保留,可稍后重试。`
|
||||
: "Code Agent 代理暂时无法连接上游;输入已保留,可稍后重试。";
|
||||
? `Workbench 后端请求超过 ${timeoutMs}ms 未返回;请求已保留,可稍后重试。`
|
||||
: "Workbench 后端暂时不可用;请求已保留,可稍后重试。";
|
||||
return {
|
||||
status: "failed",
|
||||
error: {
|
||||
|
||||
Reference in New Issue
Block a user