mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-24 17:10:12 +08:00
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:
@@ -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],
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user