Merge pull request #425 from XePope/fix/autofixer-wait-fallback-format

fix(core): correct autoFixer wait fallback action format
This commit is contained in:
Simon
2026-04-13 20:33:08 +08:00
committed by GitHub

View File

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