Skip to content

Conversation

@babalolajnr
Copy link

This change fixes #41017 by trimming the editor text before processing.

Screenshots

Previous Behaviour
image

New Behaviour
image

Closes #41017

Release Notes:

  • Fixes the message in the Agent Panel by trimming the leading and trailing whitespace.

This change fixes zed-industries#41017 by trimming the editor text before processing
@cla-bot
Copy link

cla-bot bot commented Oct 26, 2025

We require contributors to sign our Contributor License Agreement, and we don't have @babalolajnr on file. You can sign our CLA at https://zed.dev/cla. Once you've signed, post a comment here that says '@cla-bot check'.

@maxdeviant maxdeviant changed the title fix(agent_ui): Trim editor text before processing agent_ui: Trim editor text before processing Oct 26, 2025
@babalolajnr
Copy link
Author

@cla-bot check

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Oct 26, 2025
@cla-bot
Copy link

cla-bot bot commented Oct 26, 2025

The cla-bot has been summoned, and re-checked this pull request!

@SomeoneToIgnore SomeoneToIgnore added the ai Improvement related to Agent Panel, Edit Prediction, Copilot, or other AI features label Oct 26, 2025
@SomeoneToIgnore
Copy link
Contributor

Another PR submitted before: #41044

@bennetbo bennetbo self-assigned this Oct 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai Improvement related to Agent Panel, Edit Prediction, Copilot, or other AI features cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Trim leading whitespace in messages sent in agent panel

3 participants