@tansr/sdk 0.7.1 → 0.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +5 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -28806,7 +28806,11 @@ function twpErrorToIR(code, message, detail) {
|
|
|
28806
28806
|
return {
|
|
28807
28807
|
kind: mapped.kind,
|
|
28808
28808
|
message: text,
|
|
28809
|
-
|
|
28809
|
+
// S-TH4(2026-09-01):服务端确定性拒绝声明恒胜码表——detail.retryable
|
|
28810
|
+
// === false 即不可恢复(上游 4xx 同参重发恒同拒;gpt-5.6-sol 实证
|
|
28811
|
+
// reasoning_effort×tools 400 被 upstream_error 码表重试 14 次的风暴止血)。
|
|
28812
|
+
// 加法容忍:键缺席/异型恒走码表现状。
|
|
28813
|
+
recoverable: detail?.["retryable"] === false ? false : mapped.recoverable,
|
|
28810
28814
|
...retryAfterMs !== void 0 ? { retryAfterMs } : {}
|
|
28811
28815
|
};
|
|
28812
28816
|
}
|
package/package.json
CHANGED