fix(web): allow switching away from Ultrathink without manual prompt editing#1307
fix(web): allow switching away from Ultrathink without manual prompt editing#1307Marve10s wants to merge 1 commit intopingdotgg:mainfrom
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment Tip CodeRabbit can generate a title for your PR based on the changes with custom instructions.Set the |
…prompt editing When Ultrathink was active, the effort dropdown was fully disabled, requiring the user to manually remove the "Ultrathink:" prefix from the prompt. Now selecting a different effort level automatically strips the prefix and applies the new effort.
2fd7aff to
8a2887b
Compare
Summary
Ultrathink:prefix from the prompt and applies the new effort.Test plan
Ultrathink:prefixUltrathink:prefix is removed, effort switchesNote
Allow switching away from Ultrathink effort without manual prompt editing
ultrathinkprefix from the prompt (case-insensitive, word-boundary regex) and applies the new effort setting viaonPromptChange.handleEffortChangecallback inClaudeTraitsPicker.tsxno longer early-returns whenultrathinkPromptControlledis true, so prompt mutation now happens automatically on effort switch.Macroscope summarized 8a2887b.