fix: finalize LLM idle timeout landing (#55072) (thanks @liuy)

This commit is contained in:
Ayaan Zaidi 2026-03-30 08:04:12 +05:30
parent 179f713c88
commit 6f09a68ae7
2 changed files with 1 additions and 2 deletions

View File

@ -18,6 +18,7 @@ Docs: https://docs.openclaw.ai
- ACP/plugins: add an explicit default-off ACPX plugin-tools MCP bridge config, document the trust boundary, and harden the built-in bridge packaging/logging path so global installs and stdio MCP sessions work reliably. (#56867) Thanks @joe2643.
- Docs/zh-CN: add a Chinese Diffs tool page so Chinese readers can access the full Diffs viewer, file-rendering, security, and troubleshooting docs. (#40773) Thanks @elliotllliu.
- Docs/zh-CN: align the Chinese Diffs tool page with the current English source and generated translation metadata. Thanks @gumadeiras.
- Agents/LLM: add a configurable idle-stream timeout for embedded runner requests so stalled model streams abort cleanly instead of hanging until the broader run timeout fires. (#55072) Thanks @liuy.
### Fixes

View File

@ -1066,8 +1066,6 @@ export async function runEmbeddedAttempt(
let idleTimeoutTrigger: ((error: Error) => void) | undefined;
let idleTimeoutTrigger: ((error: Error) => void) | undefined;
// Wrap stream with idle timeout detection
const idleTimeoutMs = resolveLlmIdleTimeoutMs(params.config);
if (idleTimeoutMs > 0) {