fix(acp): forward Claude Code model picker selection to the adapter (#10675)

This commit is contained in:
Michael A. Smith
2026-07-27 16:30:05 -04:00
committed by GitHub
parent a5f8835ffe
commit 64b10ceebf
+4 -1
View File
@@ -82,7 +82,10 @@ impl ProviderDef for ClaudeAcpProvider {
mcp_servers: extension_configs_to_mcp_servers(&extensions),
session_mode_id: mode_mapping[&goose_mode].first().cloned(),
session_config_options: vec![],
model_config_option_id: None,
// claude-agent-acp advertises the model as a "model" select
// config option and applies session/set_config_option for it
// via query.setModel, so forward the picker's selection.
model_config_option_id: Some("model".to_string()),
mode_mapping,
notification_callback: None,
};