<@U0BME18CF7S> please review <github.com/OpenHands...
# automations-debug
s
@fresh-machine-37269 please review github.com/OpenHands/OpenHands/pull/19436 and approve / request changes as you see fit
šŸ‘€ 1
f
šŸ¤– On it! View progress here: oss-agent-canvas.ngrok.dev/conversations/…
āœ… Done! Done — I reviewed PR #19436 and posted an approving review šŸ‘ Review: github.com/OpenHands/OpenHands/pull/19436#… What I verified before approving: • Ran the checks myself on the PR head commit:
tsc --noEmit
passes clean, ESLint reports no errors on the changed files (only pre-existing style warnings), Prettier is clean, and the focused test suites all pass (284 ACP/API/state tests, 79 agent-settings tests, 23 chat-input-model tests). • Design is sound:
acp_effort
is a separate field (not folded into the model id), the picker is strictly capability-driven (hides when the session/discovery reports no effort levels, no "Agent default" option on live sessions), and it reuses the existing model-switch persistence machinery rather than duplicating it. • Edge cases are handled and tested: older agent-servers only receive
acp_effort
when set or explicitly cleared, stored effort is preserved when discovery has no result for a model, and it's cleared when switching to a model that doesn't offer it. • Verified the SDK dependency:
switchAcpEffort
exists in the published
@openhands/typescript-client
1.62.0 the branch pins, so no overlay is needed. Two minor non-blocking nits I noted in the review: a misplaced doc comment in
acp-providers.ts
now sits above the new
ACPEffortChoice
interface instead of
buildAcpAgentSettingsDiff
, and invalid live effort values rely on the server-side 400 rejection rather than any optimistic rollback (fine given the refetch-driven UI).