feat:修改模型描述的展现形式和内容

This commit is contained in:
Roe-xin
2026-01-05 16:19:53 +08:00
parent 5ce420295b
commit ef2a0dc16e
3 changed files with 70 additions and 114 deletions

View File

@ -157,9 +157,9 @@ export function getModeSelectorScript(): string {
// 更新 tooltip
if (modeTooltip) {
const tooltipMap = {
'plan': '只读模式 - 只能查询分析',
'ask': '逐个确认 - 每个写操作需确认',
'agent': '智能体自主模式','
'plan': 'plan模式',
'ask': 'ask模式',
'agent': 'agent模式',
};
modeTooltip.textContent = tooltipMap[value] || '切换模式';
}