-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Description
App Version
v3.23.12
API Provider
Anthropic
Model Used
Claude 3.7 Sonnet
Roo Code Task Links (Optional)
π Steps to Reproduce
So normally when using Roo, when it is applying a diff to a file i get "Save" and "Cancel" buttons. I often write feedback in the textarea about the diff (or tell it how to continue with the task), then when I hit either "Save" or "Cancel" that text gets added to the chat and sent to the model (this is great, and what I'd expect).
But in certain cases... most notably when using the "search_and_replace" tool, i get two buttons "Approve" and "Reject"... if i add text into the textarea then hit either of those buttons the textarea is cleared and the contents do not get added to the chat π
Here's simple repo steps (just tested with the newest version):
- Open any source code file (I was using TypeScript, but I don't think the type of code matters).
- Prompt it with something like:
can you edit @/frontend/appmodel.ts using the search_and_replace tool... to change isDev to isDev2
- It will then use the search_and_replace tool, and you'll be presented with the two buttons "Approve" and "Reject"
- Write some text in the textarea, like "great, lets update it again to isDev3".
- Click either button (tried with both).
- Notice that the textarea is cleared and what ever you wrote into the textarea is not added to the chat. It isn't just a UI bug as the agent will not follow the new instructions that were typed.
π₯ Outcome Summary
Expected the content typed into the textarea before hitting Approve or Reject (when using the search_and_replace tool) would be added to the chat and sent to the model.
π Relevant Logs or Errors (Optional)
Metadata
Metadata
Assignees
Labels
Type
Projects
Status