feat: AI 问答更名 AI 客服

- 6处更名: 侧边栏/页面标题/标签标题/授权名单/首页新功能/About/生成历史
- 修正首页过时描述(报错解读文案写作->本站功能问答)

验证: 标题'AI 客服 - IT-TOOLS-PRO', h1'AI 客服', 无旧文案残留 ✓

CHANGELOG记录
This commit is contained in:
personal82555 committed 2026-10-13 22:12:38 +08:00
1 parent d880df224d
commit 56a15c02b4
6 files changed
+12 -6

No files matched your search

+2 -2
View File
@@ -6,7 +6,7 @@ import { getMachineId, licenseHeaders } from '@/tools/license/license';
import { useGenHistory } from '@/tools/gen-history/gen-history';
import { useToolStore } from '@/tools/tools.store';
useHead({ title: 'AI 问答 - IT-TOOLS-PRO' });
useHead({ title: 'AI 客服 - IT-TOOLS-PRO' });
const genHist = useGenHistory('ai-chat');
// 站点功能清单:随请求发给后端,AI 只围绕本站功能作答(实时、随工具增减自动更新)
@@ -178,7 +178,7 @@ async function send(text?: string) {
conv.messages.push({ role: 'assistant', content: j.data.reply });
conv.updatedAt = Date.now();
saveConvs();
genHist.add({ title: `AI 问答: ${content.slice(0, 24)}`, detail: `${model.value} · 回复 ${j.data.reply.length} 字` });
genHist.add({ title: `AI 客服: ${content.slice(0, 24)}`, detail: `${model.value} · 回复 ${j.data.reply.length} 字` });
}
catch (e: any) {
error.value = String(e?.message || e);
+1 -1
View File
@@ -2,7 +2,7 @@ import { Robot } from '@vicons/tabler';
import { defineTool } from '../tool';
export const tool = defineTool({
name: 'AI 问答',
name: 'AI 客服',
path: '/ai-chat',
description: '本站功能问答:工具在哪、怎么用、选哪个,只回答 IT-TOOLS-PRO 功能相关问题',
keywords: ['ai', 'chat', 'gpt', 'assistant', 'llm', '问答', '对话', '助手', 'AI'],
+1 -1
View File
@@ -18,7 +18,7 @@ export const PROTECTED_TOOLS: Record<string, string> = {
'/audio-tools': '音频工具',
'/text-to-image': '文字生成图片',
'/ai-image-lab': 'AI图片实验室',
'/ai-chat': 'AI问答',
'/ai-chat': 'AI客服',
'/copywriting': '文案工具箱',
'/ai-gen': 'AI 生图',
};