claude-code - 💡(How to fix) Fix [BUG] Able to set invalid effort level through VS Code extension UI [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#56112Fetched 2026-05-05 05:57:53
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
0
Author
Timeline (top)
labeled ×3commented ×1

Error Message

Error Messages/Logs

RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

Currently you can set the effort level to "max" through the VS Code exetnsion UI effort level slider The value is invalid tho

<img width="776" height="550" alt="Image" src="https://github.com/user-attachments/assets/88f00e03-4f99-4dfb-99a5-6c0bf2145227" />
<img width="1280" height="226" alt="Image" src="https://github.com/user-attachments/assets/94ce28c9-4386-4b48-8a2b-5fcdcbd46f65" />

What Should Happen?

Update the slider to map only to valid effort level values

Error Messages/Logs

Steps to Reproduce

  1. Install Claude Code VS Code extension
  2. Open Claude Code chat
  3. Click on mode selection
  4. Slide the effort level slide all the way to the right, so it says "Max"
  5. Check claude code workspace settings file

Claude Model

None

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

2.1.123

Platform

Other

Operating System

macOS

Terminal/Shell

Other

Additional Information

No response

extent analysis

TL;DR

Update the effort level slider in the VS Code extension UI to only allow valid effort level values.

Guidance

  • Review the code that handles the effort level slider in the VS Code extension to ensure it maps to valid effort level values.
  • Verify that the slider's maximum value is correctly set to a valid effort level.
  • Check the Claude Code workspace settings file to confirm that the invalid "max" value is being written when the slider is set to its maximum position.
  • Consider adding input validation to prevent the slider from accepting invalid values.

Example

No code snippet is provided as the issue does not include specific code details.

Notes

The issue lacks information about the specific valid effort level values and how the slider is currently implemented, making it difficult to provide a more detailed solution.

Recommendation

Apply a workaround by manually updating the effort level value in the Claude Code workspace settings file to a valid value until a permanent fix is implemented. This is because the issue is specific to the VS Code extension UI and a workaround can help mitigate the problem until the root cause is addressed.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [BUG] Able to set invalid effort level through VS Code extension UI [1 comments, 2 participants]