fix(core): correct autoFixer wait fallback action format

This commit is contained in:
XePope
2026-04-09 16:49:16 +08:00
parent f68c73c5e9
commit b46693f525

View File

@@ -93,7 +93,7 @@ export function normalizeResponse(response: any, tools?: Map<string, PageAgentTo
// fix incomplete formats // fix incomplete formats
if (!resolvedArguments.action) { if (!resolvedArguments.action) {
log(`#5: fixing tool_call`) log(`#5: fixing tool_call`)
resolvedArguments.action = { name: 'wait', input: { seconds: 1 } } resolvedArguments.action = { wait: { seconds: 1 } }
} }
// pack back to standard format // pack back to standard format