Repository navigation
fix(agent-device): keep the agent-device hint in translated engine errors - #378
Conversation
…rors An iPhone keyboard shows no dismiss key and agent-device never taps outside it, so keyboard.dismiss is refused upstream by design. The model only saw the refusal and retried it. The hint the failure declares (the app's own Done control, or pressing return) now rides in the same message. Closes #364
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
🟢 e2e web: 11 passedAll 11 tests in 6 filestests/deferred-dialog.e2e.ts · 1 passed · 1.4s
tests/filter-deep-link.e2e.ts · 2 passed · 377ms
tests/login-form.e2e.ts · 4 passed · 1.1s
tests/overlay-trap.e2e.ts · 1 passed · 813ms
tests/rich-text-editor.e2e.ts · 2 passed · 662ms
tests/smoke.e2e.ts · 1 passed · 448ms
e2e 0.15.0-canary-20260917213813 · 5.6s · web · run artifacts |
🟢 e2e web agent: 21 passed, 3 skipped22 agent steps · 87 model calls · 311.2k tokens (81% cached) · $0.0484 All 24 tests in 4 filestests-agent/scenarios.e2e.ts · 16 passed, 3 skipped · 16 steps · 73 calls · 2m 39s
tests-agent/login-form.e2e.ts · 1 passed · 1 step · 3 calls · 6.2s
tests-agent/planted-bugs.e2e.ts · 3 passed · 4 steps · 8 calls · 17.0s
tests-agent/unique-cache.e2e.ts · 1 passed · 1 step · 3 calls · 6.0s
e2e 0.15.0-canary-20260917213813 · 3m 9s · web · run artifacts |
dismissKeyboardon an iPhone keyboard is refused by agent-device on purpose: the keyboard shows no dismiss key and agent-device taps nothing outside it (fix(ios): give keyboard dismiss a safe-area-tap fallback (#1598) callstack/agent-device#1606). Reproduced on the Settings search field with agent-device 0.21.8, it answersUNSUPPORTED_OPERATIONwith a hint naming the alternatives.translateErrorkept only the message, so the model saw the refusal and nothing else. The hint the failure itself declares now rides in the same message; the normalizer's per-code default hint (CLI advice) stays out.docs/reference/agent-device.mdxsays whydismissKeyboardfails on iOS.Closes #364