Remove Claude subscription-based model adjustment#1899
Conversation
- Stop rewriting Claude model defaults by subscription tier - Return provider models unchanged from status checks
|
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)
Comment |
ApprovabilityVerdict: Needs human review This PR removes subscription-based context window defaults, changing what premium users see when selecting models. While it's a straightforward deletion by the original author, it's a user-facing behavior change affecting how the product behaves for different subscription tiers, warranting human review. You can customize Macroscope's approvability policy. Learn more. |
Summary
ClaudeProvider.Testing
Note
Medium Risk
Changes Claude provider status responses to stop rewriting model capability defaults based on detected subscription, which may alter default context window selection for some users. Risk is limited to provider metadata/UX, with no auth or data handling changes.
Overview
Removes the subscription-tier driven model adjustment in
ClaudeProviderthat previously promoted the1mcontext window option to default for premium plans.checkClaudeProviderStatusnow always returns themodelslist from settings/built-ins unchanged (while still detecting subscription/auth method for metadata), simplifying behavior and making defaults come solely from the provider model definitions.Reviewed by Cursor Bugbot for commit 205a70f. Bugbot is set up for automated code reviews on this repo. Configure here.
Note
Remove subscription-based default context window adjustment from
ClaudeProviderRemoves
adjustModelsForSubscriptionandPREMIUM_SUBSCRIPTION_TYPESfrom ClaudeProvider.ts. The provider now returns the base models array unchanged for all subscription types. Behavioral Change: premium subscribers no longer have the 1M context window set as the default option.Macroscope summarized 205a70f.