Skip to content

Commit ef0af15

Browse files
committed
fix: finalize LLM idle timeout landing (#55072) (thanks @liuy)
1 parent 2e7f201 commit ef0af15

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Docs: https://docs.openclaw.ai
1818
- 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.
1919
- 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.
2020
- Docs/zh-CN: align the Chinese Diffs tool page with the current English source and generated translation metadata. Thanks @gumadeiras.
21+
- 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.
2122

2223
### Fixes
2324

src/agents/pi-embedded-runner/run/attempt.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1066,8 +1066,6 @@ export async function runEmbeddedAttempt(
10661066

10671067
let idleTimeoutTrigger: ((error: Error) => void) | undefined;
10681068

1069-
let idleTimeoutTrigger: ((error: Error) => void) | undefined;
1070-
10711069
// Wrap stream with idle timeout detection
10721070
const idleTimeoutMs = resolveLlmIdleTimeoutMs(params.config);
10731071
if (idleTimeoutMs > 0) {

0 commit comments

Comments
 (0)