惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

WordPress大学
WordPress大学
博客园 - 司徒正美
Last Week in AI
Last Week in AI
博客园 - 聂微东
Jina AI
Jina AI
月光博客
月光博客
爱范儿
爱范儿
美团技术团队
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Hugging Face - Blog
Hugging Face - Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 叶小钗
T
Tailwind CSS Blog
博客园 - 【当耐特】
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Apple Machine Learning Research
Apple Machine Learning Research
有赞技术团队
有赞技术团队
罗磊的独立博客
小众软件
小众软件
雷峰网
雷峰网
IT之家
IT之家
大猫的无限游戏
大猫的无限游戏
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
V
Visual Studio Blog

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
fix(codex): raise dynamic tool timeout · openclaw/opencla...
udaymanish6 · 2026-05-27 · via Recent Commits to openclaw:main

File tree

  • docs/plugins

  • extensions/codex/src/app-server

Original file line numberDiff line numberDiff line change

@@ -310,7 +310,7 @@ available timeout in this order:

310310

image-generation default.

311311

- For the media-understanding `image` tool, `tools.media.image.timeoutSeconds`

312312

converted to milliseconds, or the 60 second media default.

313-

- The 30 second dynamic-tool default.

313+

- The 90 second dynamic-tool default.

314314
315315

Dynamic tool budgets are capped at 600000 ms. On timeout, OpenClaw aborts the

316316

tool signal where supported and returns a failed dynamic-tool response to Codex

Original file line numberDiff line numberDiff line change

@@ -541,7 +541,7 @@ Supported `appServer` fields:

541541

| `experimental.sandboxExecServer` | `false` | Preview opt-in that registers an OpenClaw sandbox-backed Codex environment with Codex app-server 0.132.0 or newer so native Codex execution can run inside the active OpenClaw sandbox. |

542542
543543

OpenClaw-owned dynamic tool calls are bounded independently from

544-

`appServer.requestTimeoutMs`: Codex `item/tool/call` requests use a 30 second

544+

`appServer.requestTimeoutMs`: Codex `item/tool/call` requests use a 90 second

545545

OpenClaw watchdog by default. A positive per-call `timeoutMs` argument extends

546546

or shortens that specific tool budget. The `image_generate` tool uses

547547

`agents.defaults.imageGenerationModel.timeoutMs` when the tool call does not

Original file line numberDiff line numberDiff line change

@@ -3089,6 +3089,22 @@ describe("runCodexAppServerAttempt", () => {

30893089

).toBe(testing.CODEX_DYNAMIC_MESSAGE_TOOL_TIMEOUT_MS);

30903090

});

30913091
3092+

it("uses a 90 second default for generic Codex dynamic tool calls", () => {

3093+

expect(

3094+

testing.resolveDynamicToolCallTimeoutMs({

3095+

call: {

3096+

threadId: "thread-1",

3097+

turnId: "turn-1",

3098+

callId: "call-session-status",

3099+

namespace: null,

3100+

tool: "session_status",

3101+

arguments: { sessionKey: "current" },

3102+

},

3103+

config: undefined,

3104+

}),

3105+

).toBe(90_000);

3106+

});

3107+
30923108

it("caps dynamic tool timeouts at the bridge maximum", () => {

30933109

expect(

30943110

testing.resolveDynamicToolCallTimeoutMs({

Original file line numberDiff line numberDiff line change

@@ -207,7 +207,7 @@ import {

207207

import { createCodexUserInputBridge } from "./user-input-bridge.js";

208208

import { filterToolsForVisionInputs } from "./vision-tools.js";

209209
210-

const CODEX_DYNAMIC_TOOL_TIMEOUT_MS = 30_000;

210+

const CODEX_DYNAMIC_TOOL_TIMEOUT_MS = 90_000;

211211

const CODEX_DYNAMIC_TOOL_MAX_TIMEOUT_MS = 600_000;

212212

const CODEX_DYNAMIC_IMAGE_GENERATION_TOOL_TIMEOUT_MS = 120_000;

213213

const CODEX_DYNAMIC_IMAGE_TOOL_TIMEOUT_MS = 60_000;

Original file line numberDiff line numberDiff line change

@@ -1178,6 +1178,21 @@ describe("runCodexAppServerSideQuestion", () => {

11781178

expect(timeoutMs).toBe(120_000);

11791179

});

11801180
1181+

it("uses a 90 second default for generic side-thread dynamic tool calls", () => {

1182+

const timeoutMs = testing.resolveSideDynamicToolCallTimeoutMs({

1183+

call: {

1184+

threadId: "side-thread",

1185+

turnId: "turn-1",

1186+

callId: "tool-1",

1187+

tool: "session_status",

1188+

arguments: { sessionKey: "current" },

1189+

},

1190+

config: {} as never,

1191+

});

1192+
1193+

expect(timeoutMs).toBe(90_000);

1194+

});

1195+
11811196

it("cleans up notification handlers when side tool setup fails", async () => {

11821197

const client = createFakeClient();

11831198

createOpenClawCodingToolsMock.mockImplementation(() => {

Original file line numberDiff line numberDiff line change

@@ -78,7 +78,7 @@ import {

7878

} from "./thread-lifecycle.js";

7979

import { filterToolsForVisionInputs } from "./vision-tools.js";

8080
81-

const CODEX_SIDE_DYNAMIC_TOOL_TIMEOUT_MS = 30_000;

81+

const CODEX_SIDE_DYNAMIC_TOOL_TIMEOUT_MS = 90_000;

8282

const CODEX_SIDE_DYNAMIC_TOOL_MAX_TIMEOUT_MS = 600_000;

8383

const CODEX_SIDE_DYNAMIC_IMAGE_GENERATION_TOOL_TIMEOUT_MS = 120_000;

8484

const CODEX_SIDE_DYNAMIC_IMAGE_TOOL_TIMEOUT_MS = 60_000;