ci: narrow legacy webchat migration value · openclaw/openclaw@71a516d
steipete
·
2026-06-01
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -481,6 +481,7 @@ function migrateRetiredWebchatChannelConfig(raw: Record<string, unknown>, change
|
481 | 481 | const gateway = getRecord(raw.gateway) ?? {}; |
482 | 482 | const gatewayWebchat = getRecord(gateway.webchat) ?? {}; |
483 | 483 | const canMoveLegacyTextChunkLimit = |
| 484 | +typeof legacyTextChunkLimit === "number" && |
484 | 485 | Number.isInteger(legacyTextChunkLimit) && |
485 | 486 | legacyTextChunkLimit > 0 && |
486 | 487 | legacyTextChunkLimit <= WEBCHAT_CHAT_HISTORY_MAX_CHARS_LIMIT; |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。