Roo-Code/webview-ui/src/context
Roo Code 2a08c7c3db feat: Add toggle for custom mode creation
This commit adds a new setting to allow users to disable custom mode creation,
which can help reduce token usage in Roo's prompts.

Key changes:

Add enableCustomModeCreation setting to global state
Conditionally include custom modes documentation in prompt only when enabled
Add UI toggle in PromptsView with explanatory text
Default the setting to enabled (true) for backward compatibility
Update necessary interfaces and message handlers for the new setting
The setting is placed in PromptsView rather than SettingsView since it directly
relates to the modes functionality managed in that component.
2025-03-08 22:05:27 -07:00
..
__tests__ Add setting for whether to include ignored files in lists 2025-03-07 11:28:28 -05:00
ExtensionStateContext.tsx feat: Add toggle for custom mode creation 2025-03-08 22:05:27 -07:00