Repository navigation
Conversation
|
Important Review skippedAuto reviews are limited based on label configuration. 🏷️ Required labels (at least one): 1
Please check the settings in the CodeRabbit UI or the
|
| Layer / File(s) | Summary |
|---|---|
Expose and verify the none option webview-ui/src/components/settings/providers/OpenAICompatible.tsx, webview-ui/src/components/settings/providers/__tests__/OpenAICompatible.spec.tsx, webview-ui/src/components/settings/__tests__/ThinkingBudget.spec.tsx, src/api/providers/__tests__/openai.spec.ts |
The provider lists "none" as a supported reasoning-effort value. Tests cover its availability, persistence when selected, and inclusion in a streaming request with the read_file tool. |
Priority:
Estimated code review effort: 2 (Simple) | ~10 minutes
Change: Feature · Severity of issue fixed: Medium
Merge Risk: 
Minimal · up to ea64a
-
The change appears ready to merge after normal checks. No merge-blocking issue was identified.
Pre-merge checks: 
6 · 
2
-
Failed checks: 2 warnings Passed checks: 6 passedFull details: Regression Evidence
-
Explanation
The PR adds a user-visible
noneoption atwebview-ui/src/components/settings/providers/OpenAICompatible.tsx:333, but it adds no Playwright component snapshot. The existing visual fixtures cover Azure guidance and Extra Body only, andThinkingBudget.visual.tsxcovers a Bedrock budget slider. Vitest tests cover option wiring and persistence, but they do not provide the required durable visual evidence for the changed settings UI.Resolution
Add a Playwright gallery story and committed component snapshot for the OpenAI-compatible reasoning-effort control with reasoning enabled. Open the selector or otherwise render its options so the
noneoption and the resulting visible state are covered.
-
✨ Finishing Touches
-
🧪 Generate unit tests (beta)
-
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
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 @coderabbitai help to get the list of available commands.
Review statusThanks for contributing. This comment tracks the review sequence and the next action. Current step: Mark the PR ready. Required CI must pass before CodeRabbit starts. Review-state labels are managed by this workflow; do not edit them manually. |
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
…ase URLs in OpenAiNativeHandler
…le-reasoning-effort-none
Related GitHub Issue
Closes: #2040
Description
Added the none reasoning-effort option for OpenAI-compatible models. Selecting it saves the setting and includes none in API requests; tests cover settings and request construction in OpenAICompatible.tsx and openai.spec.ts.
Reviewer note: the option is now exposed for all OpenAI-compatible models, without checking endpoint-specific support.
Test Procedure
Pre-Submission Checklist
*.visual.tsxsnapshot inwebview-ui/. Seewebview-ui/AGENTS.md→ "When a UI change needs a snapshot".Visual Snapshots
Videos (interaction / animation only)
Documentation Updates
Additional Notes
Get in Touch