Skip to content

Conversation

@hannesrudolph
Copy link
Collaborator

@hannesrudolph hannesrudolph commented Nov 14, 2025

Important

Reverts 'minimal' reasoning effort handling to be treated as 'none', updating logic and tests accordingly.

  • Behavior:
    • Reverts handling of 'minimal' reasoning effort to be treated as 'none', omitting reasoning parameters in getRooReasoning() in reasoning.ts.
    • Updates RooHandler tests in roo.spec.ts to reflect 'minimal' as 'none'.
    • Adjusts getRooReasoning() logic in reasoning.ts to return undefined for 'minimal'.
  • Tests:
    • Modifies reasoning.spec.ts to expect undefined for 'minimal' effort in getRooReasoning().
    • Updates SimpleThinkingBudget.spec.tsx to ensure 'minimal' is not included in reasoning parameters.
  • UI Components:
    • Removes 'minimal' option from SimpleThinkingBudget.tsx and ThinkingBudget.tsx components.

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

@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. UI/UX UI/UX related or focused labels Nov 14, 2025
@roomote
Copy link
Contributor

roomote bot commented Nov 14, 2025

Rooviewer Clock   See task on Roo Cloud

Reviewed latest commit (8b6649a). Test changes correctly align with getRooReasoning() implementation.

Previous reviews

Mention @roomote in a comment to request specific changes to this pull request or fix all unresolved issues.

@hannesrudolph hannesrudolph changed the title chore: refine Roo reasoning effort handling and UI defaults revert out of scope changes from #9252 Nov 14, 2025
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Nov 14, 2025
@hannesrudolph hannesrudolph added the Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels. label Nov 14, 2025
@mrubens
Copy link
Collaborator

mrubens commented Nov 14, 2025

@roomote can you fix the tests? Do those need to be rolled back too?

@hannesrudolph
Copy link
Collaborator Author

@roomote can you fix the tests? Do those need to be rolled back too?

doing it now

@roomote
Copy link
Contributor

roomote bot commented Nov 14, 2025

Fixaroo Clock   Follow along on Roo Cloud

Working on fixing the tests and determining if any changes need to be rolled back.

@roomote
Copy link
Contributor

roomote bot commented Nov 14, 2025

Fixaroo Clock   See task on Roo Cloud

Investigation Results

The tests do not need to be rolled back - they are already correct for this revert PR.

What I Found

PR #9252 introduced capability-driven reasoning effort handling, including support for "minimal" as a distinct effort level. It updated:

  • roo.spec.ts: Changed test to expect reasoning: { enabled: true, effort: "minimal" }
  • SimpleThinkingBudget.spec.tsx: Added "minimal" translation and changed default from "None" to "Select"

PR #9258 (this PR) correctly reverts the out-of-scope changes:

  • reasoning.ts (lines 74-77): Treats "minimal" as none, returning undefined instead of sending it as an effort
  • roo.spec.ts (line 610): Updated test to expect reasoning to be undefined for minimal
  • SimpleThinkingBudget.spec.tsx (line 192): Reverted to expect "None" as default, removed "minimal" translation

Test Results

✅ All tests pass:

  • roo.spec.ts: 33/33 tests passing
  • SimpleThinkingBudget.spec.tsx: 11/11 tests passing

Conclusion

The test changes in this PR are intentional and correct. They were updated to match the reverted code behavior, ensuring tests accurately reflect how the code now handles reasoning effort. No further rollback is needed.

@mrubens mrubens merged commit 161345c into main Nov 14, 2025
16 of 17 checks passed
@mrubens mrubens deleted the chore/reasoning-effort-none-minimal branch November 14, 2025 05:19
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap Nov 14, 2025
@github-project-automation github-project-automation bot moved this from Triage to Done in Roo Code Roadmap Nov 14, 2025
mini2s added a commit to zgsm-ai/costrict that referenced this pull request Nov 17, 2025