mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-05 08:10:14 +00:00
feat: reduce Gemini 2.5 Pro thinking tokens default from 1024 to 128
- Changed minimum thinking tokens slider from 1024 to 128 in ThinkingBudget component - Changed default thinking tokens from 8192 to 128 in api constants - Adjusted slider step size from 1024 to 128 for finer control This change applies to all providers with thinking token settings defaulting to 1024
This commit is contained in:
parent
8513263a67
commit
663ecc41d4
2 changed files with 3 additions and 3 deletions
|
|
@ -50,7 +50,7 @@ export const shouldUseReasoningEffort = ({
|
|||
}): boolean => (!!model.supportsReasoningEffort && !!settings?.reasoningEffort) || !!model.reasoningEffort
|
||||
|
||||
export const DEFAULT_HYBRID_REASONING_MODEL_MAX_TOKENS = 16_384
|
||||
export const DEFAULT_HYBRID_REASONING_MODEL_THINKING_TOKENS = 8_192
|
||||
export const DEFAULT_HYBRID_REASONING_MODEL_THINKING_TOKENS = 128
|
||||
|
||||
// Max Tokens
|
||||
|
||||
|
|
|
|||
|
|
@ -81,9 +81,9 @@ export const ThinkingBudget = ({ apiConfiguration, setApiConfigurationField, mod
|
|||
<div className="font-medium">{t("settings:thinkingBudget.maxThinkingTokens")}</div>
|
||||
<div className="flex items-center gap-1" data-testid="reasoning-budget">
|
||||
<Slider
|
||||
min={1024}
|
||||
min={128}
|
||||
max={modelMaxThinkingTokens}
|
||||
step={1024}
|
||||
step={128}
|
||||
value={[customMaxThinkingTokens]}
|
||||
onValueChange={([value]) => setApiConfigurationField("modelMaxThinkingTokens", value)}
|
||||
/>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue