ZIm/crates/agent_ui
Umesh Yadav b46e961991
agent_ui: Clear error message callout when message is edited or added in same thread (#33768)
Currently if error occurs in the agent thread and user updates the same
messages or sends a new message the error callout is still present and
is not cleared. In this PR we are clearing the last error in case user
sends a new messages or resend the previous message after editing.

Before:


https://github.com/user-attachments/assets/44994004-4cf0-45bc-8b69-88546f037372

After:


https://github.com/user-attachments/assets/993a2a63-8295-47d3-bbda-a2669dee2d5f

Release Notes:

- Fix bug in agent panel error callout not getting removed when a
message is edited or new a message is send.
2025-07-03 10:47:26 -03:00
..
src agent_ui: Clear error message callout when message is edited or added in same thread (#33768) 2025-07-03 10:47:26 -03:00
Cargo.toml Move UI code from assistant_context_editor -> agent_ui (#33289) 2025-06-23 22:22:01 -07:00
LICENSE-GPL Extract an agent_ui crate from agent (#33284) 2025-06-23 18:00:28 -07:00