palz-connector 1.6.1 → 1.6.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/openclaw.plugin.json +1 -1
- package/package.json +1 -1
- package/src/send.js +1 -1
package/openclaw.plugin.json
CHANGED
package/package.json
CHANGED
package/src/send.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import { tracer, trace, SpanStatusCode, buildTraceparentHeader } from "./tracing.js";
|
|
8
8
|
import { contentPartsToOpenAIContent } from "./content.js";
|
|
9
|
-
const SEND_TIMEOUT_MS =
|
|
9
|
+
const SEND_TIMEOUT_MS = 40_000;
|
|
10
10
|
/**
|
|
11
11
|
* IM 后端转调腾讯 IM SDK 时可能命中内容风控(敏感词),此时 HTTP 200 但 body
|
|
12
12
|
* `{ok:false, error:"...(code: 80001)"}`。用专用错误类型把它和普通发送失败区分开,
|