Skip to content

Conversation

lvalics
Copy link
Contributor

@lvalics lvalics commented Jul 11, 2025

  • Added ThinkingModeSelector component with 5 thinking modes
  • Integrated selector into chat header next to permission mode
  • Automatically prefixes messages with thinking instructions
  • Resets to default mode after sending message

- Added ThinkingModeSelector component with 5 thinking modes
- Integrated selector into chat header next to permission mode
- Automatically prefixes messages with thinking instructions
- Resets to default mode after sending message
@viper151
Copy link
Contributor

@lvalics thinking mode does not exist in Claude Code.

Moreover the commit only adds a button in the Frontend

@viper151 viper151 closed this Jul 11, 2025
@lvalics
Copy link
Contributor Author

lvalics commented Jul 11, 2025

It is exist ... Try to add this words in your promot, actually it is add ONLY to the prompt. Not need any backend.
Ask Claude to make a plan for how to approach a specific problem. We recommend using the word "think" to trigger extended thinking mode, which gives Claude additional computation time to evaluate alternatives more thoroughly. These specific phrases are mapped directly to increasing levels of thinking budget in the system: "think" < "think hard" < "think harder" < "ultrathink." Each level allocates progressively more thinking budget for Claude to use.
https://www.anthropic.com/engineering/claude-code-best-practices

@lvalics
Copy link
Contributor Author

lvalics commented Jul 11, 2025

I am using a lot to force Claude Code to get implementation more thinking, overthinking, but consume more credits (if you are on token) but is not consume if you are on MAX or PRO. I am using Claude Code quite a lot, from the first version, it is used by engineers a lot.

@lvalics
Copy link
Contributor Author

lvalics commented Jul 12, 2025

image Just to see how is react.

@viper151
Copy link
Contributor

I know it exists but as you mentioned it's only when you mention it within the prompt itself.
What I missed in your code was this
if (selectedThinkingMode && selectedThinkingMode.prefix) {
messageContent = ${selectedThinkingMode.prefix}: ${input};
}

I like it and want to merge, but doesn't it clutter a bit too much the interface? We nw also have the planning mode "pill" above the chat interface input. Think of the mobile interface.

@viper151 viper151 reopened this Jul 12, 2025
@lvalics
Copy link
Contributor Author

lvalics commented Jul 12, 2025

You can add it and see what people think an of course you can move else later if needed. Normally near that button is ok I think.

@zuodajiang-1m
Copy link

It is a feature in Claudia

@zuodajiang-1m
Copy link

image image

It also has a mode selection function

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants