Skip to content

fix: mirror claude-code supports_set_session_model=true#206

Draft
simonrosenberg wants to merge 1 commit into
mainfrom
acp-claude-supports-set-session-model
Draft

fix: mirror claude-code supports_set_session_model=true#206
simonrosenberg wants to merge 1 commit into
mainfrom
acp-claude-supports-set-session-model

Conversation

@simonrosenberg

Copy link
Copy Markdown
Member
  • A human has tested these changes.

Why

Mirrors OpenHands/software-agent-sdk#3655: claude-agent-acp 0.30.0 silently ignores the _meta-based initial model selection (software-agent-sdk#3654), so the SDK now applies the claude-code initial model via session/set_model and flips supports_set_session_model to true in the registry. This repo's JSON mirror must match field-for-field or the validate-acp-providers drift job blocks all PRs.

Summary

  • claude-code.supports_set_session_model: falsetrue in src/models/acp-providers.json (one line; codex/gemini untouched).

Issue Number

OpenHands/software-agent-sdk#3654

How to Test

$ PYTHONPATH=<sdk-branch>/openhands-sdk python3 scripts/check-acp-drift.py
OK: src/models/acp-providers.json matches openhands-sdk (3 providers).

🤖 Generated with Claude Code

Mirrors OpenHands/software-agent-sdk#3655 (claude-agent-acp 0.30.0
ignores _meta-based initial model selection; init now uses
session/set_model).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant