Feat: Add a "None" option for reasoning intensity in the chat message box. (#17006)

### Summary

Feat: Add a "None" option for reasoning intensity in the chat message
box.
This commit is contained in:
balibabu
2026-07-21 11:50:34 +08:00
committed by GitHub
parent 21a4eab43d
commit b288888050
4 changed files with 71 additions and 13 deletions

View File

@@ -78,10 +78,27 @@ export function NextMessageInput({
const thinkingOptions = useMemo(
() => [
{ label: t('chat.thinkingLevelUltra'), value: '3' },
{ label: t('chat.thinkingLevelHigh'), value: '2' },
{ label: t('chat.thinkingLevelMedium'), value: '1' },
{ label: t('chat.thinkingLevelLow'), value: '0' },
{
label: t('chat.thinkingLevelUltra'),
value: '4',
description: t('chat.thinkingLevelUltraDescription'),
},
{
label: t('chat.thinkingLevelHigh'),
value: '3',
description: t('chat.thinkingLevelHighDescription'),
},
{
label: t('chat.thinkingLevelMedium'),
value: '2',
description: t('chat.thinkingLevelMediumDescription'),
},
{
label: t('chat.thinkingLevelLow'),
value: '1',
description: t('chat.thinkingLevelLowDescription'),
},
{ label: t('chat.thinkingLevelNone'), value: '0' },
],
[t],
);