Skip to content

Bump SDK to 1.54.0 and stop reading the deprecated ACP model lists before 1.59.0 #732

Open

Description

@simonrosenberg

Enterprise and the Cloud sandboxes still run SDK / agent-server 1.50.1. Every automatic SDK bump since 1.51.0 has failed to open a PR here, so Cloud is missing the Gemini fix in 1.54.0. SDK 1.54.0 also deprecates the ACP provider model lists this repo reads; they are removed in 1.59.0.

1. Bump to 1.54.0 (now)

The SDK's version-bump-prs.yml couldn't resolve this repo's lock:

  • 1.51.0–1.53.0: agent-client-protocol>=0.8.1,<0.9.0 conflicted with the SDK's >=0.12.1. That pin is gone from pyproject.toml now.
  • 1.54.0 (run): openhands-sdk>=1.54.0 depends on python-frontmatter>=1.3.0 ... your project depends on python-frontmatter==1.1.0.

Fix: in pyproject.toml, set python-frontmatter==1.3.0 alongside the three openhands-*==1.54.0 pins. On a copy of main, uv lock then resolves; the only other changes are pydantic 2.12.5 → 2.13.5, pydantic-core 2.41.5 → 2.46.5 and uvicorn 0.53.0 → 0.54.0. I haven't run this repo's tests against it.

Cloud also needs the sandbox image bumped:

  • saas-deploy: app/runtime-api/environments/{development,staging,production}/values.yaml use ghcr.io/openhands/agent-server:1.50.1-python.
  • Here: scripts/k8s_agent_sandbox/10-sandbox-template.yaml uses 1.49.4-python.

Why now: since 1.49.4 (agent-client-protocol 0.12.1, OpenHands/software-agent-sdk#5122), Gemini sessions report no models. They also ignore the requested model while reporting it as applied. OpenHands/software-agent-sdk#5579 fixes this in 1.54.0. Until Cloud sandboxes run ≥1.54.0, Gemini conversations there ignore the model the user picks.

2. Stop reading the deprecated model lists (before 1.59.0)

1.54.0 deprecates ACPProviderInfo.available_models, ACPProviderInfo.default_model and ACPModelOption; they are removed in 1.59.0. Until then, reading them only emits a DeprecationWarning. The backend reads them in one place, and the legacy frontend uses what it injects:

  • openhands/app_server/web_client/default_web_client_config_injector.py (~L363–366) copies both fields into the web-client ACP provider config.
  • Frontend: api/option-service/option.types.ts, components/features/chat/switch-acp-model-button.tsx, routes/agent-settings.tsx, utils/agent-display-label.ts.

Options:

  • Keep a list owned by this repo, e.g. next to SURFACED_ACP_PROVIDERS in openhands/app_server/acp_providers.py. It's the smallest change, but someone has to keep it current.
  • Use the models the agent reports, as Agent Canvas now does (feat(acp): take ACP model lists from the agent instead of hardcoding them OpenHands#18131). Offer "Agent default" (save no model) or a custom ID before a conversation. In a conversation, offer the session's available_models from the sandbox's conversation info. The 1.50.1 sandboxes already return that field; Gemini needs ≥1.54.0.

The new POST /api/acp/models lookup in 1.54.0 asks a local agent for its models before a conversation. Cloud doesn't need it.

Activity

  1. added
    dependencies
    on Oct 9, 2026
  2. simonrosenberg commented on Oct 13, 2026

    @simonrosenberg
    MemberAuthor

    The Enterprise portion of the 1.54.0 package/image bump is in #763, including python-frontmatter 1.3.0, matching mypy dependencies, bundled image references, and passing backend/frontend/API validation. Deployment-owned runtime-api image pins still require the release cutover described in that PR. The deprecated ACP model-list reads are separate and remain to be removed before SDK 1.59.0, so this issue remains open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependencies

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions