diff --git a/web/src/components/message-input/next.tsx b/web/src/components/message-input/next.tsx
index 99e7315c90..e2747d2744 100644
--- a/web/src/components/message-input/next.tsx
+++ b/web/src/components/message-input/next.tsx
@@ -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],
);
diff --git a/web/src/components/originui/select-with-search.tsx b/web/src/components/originui/select-with-search.tsx
index 02b9a5ab0f..38fa6ea5c3 100644
--- a/web/src/components/originui/select-with-search.tsx
+++ b/web/src/components/originui/select-with-search.tsx
@@ -31,12 +31,17 @@ import { t } from 'i18next';
import { RAGFlowSelectOptionType } from '../ui/select';
import { Separator } from '../ui/separator';
+export type SelectWithSearchOptionType = RAGFlowSelectOptionType & {
+ description?: ReactNode;
+};
+
export type SelectWithSearchFlagOptionType = {
label: ReactNode;
value?: string;
disabled?: boolean;
- options?: RAGFlowSelectOptionType[];
+ options?: SelectWithSearchOptionType[];
keywords?: string[];
+ description?: ReactNode;
};
export type SelectWithSearchFlagProps = {
@@ -272,12 +277,25 @@ export const SelectWithSearch = forwardRef<
? `${optionTestIdPrefix}${option.value}`
: 'combobox-option'
}
- className={value === option.value ? 'bg-bg-card' : ''}
+ className={cn(
+ 'relative flex flex-col min-h-10',
+ option.description
+ ? 'items-start gap-1'
+ : 'justify-center items-start',
+ value === option.value ? 'bg-bg-card' : '',
+ )}
>
{option.label}
-
+ {option.description && (
+
+ {option.description}
+
+ )}
{value === option.value && (
-
+
)}
))}
@@ -299,14 +317,27 @@ export const SelectWithSearch = forwardRef<
? `${optionTestIdPrefix}${group.value}`
: 'combobox-option'
}
- className={cn('mb-1 min-h-10 ', {
- 'bg-bg-card ': value === group.value,
- })}
+ className={cn(
+ 'relative flex flex-col min-h-10 mb-1',
+ group.description
+ ? 'items-start gap-1'
+ : 'justify-center items-start',
+ {
+ 'bg-bg-card ': value === group.value,
+ },
+ )}
>
{group.label}
-
+ {group.description && (
+
+ {group.description}
+
+ )}
{value === group.value && (
-
+
)}
);
diff --git a/web/src/locales/en.ts b/web/src/locales/en.ts
index 4716b2622e..fde8b2dc84 100644
--- a/web/src/locales/en.ts
+++ b/web/src/locales/en.ts
@@ -1119,10 +1119,15 @@ This auto-tagging feature enhances retrieval by adding another layer of domain-s
thinkingDefault: 'System default',
thinkingEnabled: 'Enabled',
thinkingDisabled: 'Disabled',
+ thinkingLevelNone: 'None',
thinkingLevelLow: 'Low',
+ thinkingLevelLowDescription: 'Instant responses',
thinkingLevelMedium: 'Medium',
+ thinkingLevelMediumDescription: 'Balanced speed & depth',
thinkingLevelHigh: 'High',
+ thinkingLevelHighDescription: 'Deep reasoning',
thinkingLevelUltra: 'Ultra',
+ thinkingLevelUltraDescription: 'Maximum cognitive effort',
thinkingTip:
'Only controls thinking mode for official Qwen, Kimi, and GLM model providers. System default disables Qwen thinking to avoid long-running tasks.',
quote: 'Show quote',
diff --git a/web/src/locales/zh.ts b/web/src/locales/zh.ts
index f6d20dc090..736c1c442d 100644
--- a/web/src/locales/zh.ts
+++ b/web/src/locales/zh.ts
@@ -1019,10 +1019,15 @@ NER:使用 spaCy NER 和基于规则的关键词提取来抽取实体和关系
thinkingDefault: '系统默认',
thinkingEnabled: '开启',
thinkingDisabled: '关闭',
+ thinkingLevelNone: '无',
thinkingLevelLow: '轻度',
+ thinkingLevelLowDescription: '即时响应',
thinkingLevelMedium: '中',
+ thinkingLevelMediumDescription: '平衡速度与深度',
thinkingLevelHigh: '高',
+ thinkingLevelHighDescription: '深度推理',
thinkingLevelUltra: '极高',
+ thinkingLevelUltraDescription: '最大认知投入',
thinkingTip:
'仅控制官方模型提供商中的 Qwen、Kimi 和 GLM 模型思考模式。系统默认会关闭 Qwen 思考,以避免任务长时间运行。',
quote: '显示引文',