Skip to content

Support ACP model and effort switching / 支持 ACP 模型和推理强度切换#4335

Merged
esengine merged 1 commit into
main-v2from
fix/acp-session-config-switching
Jun 14, 2026
Merged

Support ACP model and effort switching / 支持 ACP 模型和推理强度切换#4335
esengine merged 1 commit into
main-v2from
fix/acp-session-config-switching

Conversation

@SivanCola

Copy link
Copy Markdown
Collaborator

Summary

  • advertise ACP session config options and legacy model metadata for model selectors
  • implement session/set_config_option for model and effort changes plus legacy session/set_model
  • rebuild ACP controllers with session-local model/effort while preserving transcript, history, and session MCP servers

Root cause

Reasonix ACP only advertised lifecycle, prompt, and MCP capabilities. Hosts that rely on ACP session configuration could not discover or apply model/effort selectors, so they fell back to the configured default model.

Validation

  • go test ./...
  • real stdio ACP smoke covering initialize, session/new, session/set_config_option for model and effort, and legacy session/set_model

@github-actions github-actions Bot added tui Terminal UI / CLI (internal/cli, internal/control) v2 Go rewrite (1.x) — main-v2 branch, active development labels Jun 13, 2026
@SivanCola SivanCola marked this pull request as ready for review June 13, 2026 22:09
@SivanCola SivanCola requested a review from esengine as a code owner June 13, 2026 22:09
@SivanCola

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3d88f50ec0

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread internal/acp/service.go Outdated
Comment thread internal/acp/service.go Outdated
Comment thread internal/acp/service.go Outdated
Comment thread internal/cli/acp.go
@SivanCola SivanCola force-pushed the fix/acp-session-config-switching branch from 3d88f50 to c0bf735 Compare June 13, 2026 22:59
@github-actions github-actions Bot added the agent Core agent loop (internal/agent, internal/control) label Jun 13, 2026
@esengine esengine merged commit 8c558ff into main-v2 Jun 14, 2026
13 checks passed
@esengine esengine deleted the fix/acp-session-config-switching branch June 14, 2026 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent Core agent loop (internal/agent, internal/control) tui Terminal UI / CLI (internal/cli, internal/control) v2 Go rewrite (1.x) — main-v2 branch, active development

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants