-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Description
App Version
v3.23.12
API Provider
Google Gemini
Model Used
gemini 2.5 pro
Roo Code Task Links (Optional)
No response
馃攣 Steps to Reproduce
Description
When using the Roo Code plugin to modify a mode's name, if all characters in the input box are deleted, the plugin automatically saves this change to the mode's YAML file. This results in the name field being set to an empty string, which violates YAML format specifications. Consequently, the mode YAML file fails to parse.
Steps to Reproduce
Open the Roo Code plugin and navigate to the mode name editing interface.
Select the existing mode name in the input box and delete all characters.
Observe that the plugin automatically saves the modification.
Check the corresponding mode YAML file, where the name field will be an empty string.
Attempt to parse the YAML file, which will fail due to the invalid empty name field.
Expected Behavior
The plugin should prevent saving when the name input is empty (after deleting all characters).
A validation error or prompt should be shown to inform the user that the name cannot be empty.
The YAML file should not be updated with an invalid empty name field.
Actual Behavior
The plugin automatically saves the empty string to the name field in the YAML file, causing a parsing error due to non-compliance with YAML format specifications.
馃挜 Outcome Summary
The expected behavior is that the Roo Code plugin should prevent saving an empty mode name, but instead, it automatically saves an empty string to the name field in the YAML file, causing a parsing error.
馃搫 Relevant Logs or Errors (Optional)
Metadata
Metadata
Assignees
Labels
Type
Projects
Status