Skip to content

Conversation

@daniel-lxs
Copy link
Member

@daniel-lxs daniel-lxs commented Oct 28, 2025

Summary

Fixes reasoning enablement synchronization for Roo provider by automatically setting enableReasoningEffort based on dropdown selection.

Changes

  • Add useEffect to automatically enable reasoning when:
    • Non-'none' effort is selected in dropdown, OR
    • Model requires reasoning effort
  • Only sets flag to true when needed (doesn't force-disable for 'none')
  • Avoids noisy config writes and aligns with existing tests
  • Minor indentation fix for SelectValue

Testing

  • All existing tests passing
  • Verified behavior with GPT-5 (required reasoning) and Sonnet 4.5 (optional reasoning)

Related

Addresses issue where reasoning was not showing on the UI due to enableReasoningEffort being false even when reasoning effort was selected in the dropdown.


Important

Adds useEffect in SimpleThinkingBudget.tsx to auto-enable enableReasoningEffort based on dropdown selection or model requirements.

  • Behavior:
    • Adds useEffect in SimpleThinkingBudget.tsx to auto-enable enableReasoningEffort when a non-'none' effort is selected or model requires it.
    • Does not disable enableReasoningEffort for 'none' selection.
  • Misc:
    • Minor indentation fix for SelectValue.

This description was created by Ellipsis for e8f6b79. You can customize this summary. It will automatically update as commits are pushed.

- Add useEffect to automatically enable reasoning when:
  - Non-'none' effort is selected in dropdown, OR
  - Model requires reasoning effort
- Only sets flag to true when needed (doesn't force-disable for 'none')
- Avoids noisy config writes and aligns with existing tests
- Minor indentation fix for SelectValue
@daniel-lxs daniel-lxs requested review from cte, jr and mrubens as code owners October 28, 2025 18:47
@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. bug Something isn't working labels Oct 28, 2025
@roomote
Copy link
Contributor

roomote bot commented Oct 28, 2025

Review Complete

No issues found. The PR correctly implements auto-synchronization of enableReasoningEffort with the reasoning dropdown selection.

Follow Along on Roo Code Cloud

@daniel-lxs daniel-lxs moved this from Triage to PR [Needs Review] in Roo Code Roadmap Oct 28, 2025
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Oct 28, 2025
@mrubens mrubens merged commit 06a5c2d into main Oct 28, 2025
20 checks passed
@github-project-automation github-project-automation bot moved this from PR [Needs Review] to Done in Roo Code Roadmap Oct 28, 2025
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap Oct 28, 2025
@mrubens mrubens deleted the fix/roo-reasoning-ui branch October 28, 2025 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working lgtm This PR has been approved by a maintainer size:S This PR changes 10-29 lines, ignoring generated files.

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants