Skip to content

Conversation

@stippi
Copy link
Owner

@stippi stippi commented Nov 9, 2025

This enables the "review changes" UI in Zed. When Zed is configured for format-on-save, code-assistant will automatically benefit from this, i.e. both the tool call block in the agent panel as well as the agent's message history are updated to reflect the formatted code in the tool inputs as if the model had produced the correctly formatted code in the first place. That means the model's mental state of a file does not diverge from the actual file's contents on disk.

No custom formatter is run, but if the ACP client performs format-on-save, we use it to update the edit tool's input
parameters.
... when inputs have changed after executing a tool.
@stippi stippi merged commit b30a9b3 into main Nov 9, 2025
1 check passed
@stippi stippi deleted the acp-file-access branch November 9, 2025 23:08
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.

2 participants