feat: AI 问答更名 AI 客服
- 6处更名: 侧边栏/页面标题/标签标题/授权名单/首页新功能/About/生成历史 - 修正首页过时描述(报错解读文案写作->本站功能问答) 验证: 标题'AI 客服 - IT-TOOLS-PRO', h1'AI 客服', 无旧文案残留 ✓ CHANGELOG记录
This commit is contained in:
1 parent
d880df224d
commit
56a15c02b4
6 files changed
+12
-6
No files matched your search
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. See [standa
|
||||
|
||||
## Version 2026.10.12-it-tools-pro
|
||||
|
||||
### 🤖 「AI 问答」更名「AI 客服」
|
||||
- 工具名全站更名为 **AI 客服**:侧边栏菜单、页面大标题、浏览器标签、授权工具名单、首页近期新功能、About 功能介绍、生成历史条目共 6 处
|
||||
- 顺带修正首页该工具的过时描述("报错解读/文案写作"→"本站功能问答",与站内导向一致)
|
||||
- 验证:页面标题「AI 客服 - IT-TOOLS-PRO」、h1「AI 客服」、无"AI 问答"残留 ✓
|
||||
|
||||
|
||||
### 🗑️ 修复对话删除后又"复活"
|
||||
- 根因:云同步按 `server ∪ mine` **并集合并**,本机删掉的对话服务端仍有 → 下次同步被并回来(周期同步后 60 秒内必然复活)
|
||||
- 改用**删除墓碑(tombstone)**:删除对话时记录 `{id, at}` 到 `it-tools-ai-chat-deleted` 并纳入同步白名单
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@ const groups: { title: string; items: Item[] }[] = [
|
||||
title: 'AI 智能',
|
||||
items: [
|
||||
{ name: 'AI 图片实验室', icon: 'AI', desc: '智能抠图去背景(本地模型)、AI 无损放大变清晰(2x/4x + 5 档降噪)、一键证件照(一寸/二寸/护照,白红蓝底),图片不上传服务器', tag: '全新' },
|
||||
{ name: 'AI 问答', icon: '问', desc: '只回答本站功能相关问题(带全站工具清单、越界自动拒绝引导)、多会话对话、多轮上下文、模型可选、对话登录后云端同步换电脑恢复', tag: '全新' },
|
||||
{ name: 'AI 客服', icon: '问', desc: '只回答本站功能相关问题(带全站工具清单、越界自动拒绝引导)、多会话对话、多轮上下文、模型可选、对话登录后云端同步换电脑恢复', tag: '全新' },
|
||||
{ name: '文案工具箱', icon: '文', desc: '一键改写、降 AIGC 率、爆款标题、小红书文案、朋友圈文案 5 大场景,模型可选 mimo / glm', tag: '全新' },
|
||||
{ name: '截图理解(AI 看图)', icon: '看', desc: '截图/票据/合同/报错图丢进去 AI 读懂并提取关键信息(多模态),金额日期编号原样保留,5 个预设问题', tag: '全新' },
|
||||
{ name: '视频字幕 AI', icon: '幕', desc: 'Whisper 本地转录生成 SRT、AI 一键翻译英日文、时间轴预览、SRT 下载,与视频工具箱联动', tag: '全新' },
|
||||
|
||||
@@ -19,7 +19,7 @@ const NEW_FEATURES = [
|
||||
{ path: '/audio-tools', icon: '🎙️', name: '音频工具', desc: '文字转音频、语音识别、声音克隆(部署中)' },
|
||||
{ path: '/user-center', icon: '👤', name: '用户中心', desc: '收藏/记录云端同步,换电脑登录即恢复,授权跟随账号' },
|
||||
{ path: '/ai-image-lab', icon: '🪄', name: 'AI 图片实验室', desc: '智能抠图去背景、AI 无损放大变清晰、一键证件照' },
|
||||
{ path: '/ai-chat', icon: '🤖', name: 'AI 问答', desc: '报错解读、文案写作、代码问题随口问,支持多轮对话' },
|
||||
{ path: '/ai-chat', icon: '🤖', name: 'AI 客服', desc: '本站功能问答:工具在哪、怎么用、选哪个,支持多轮对话' },
|
||||
{ path: '/copywriting', icon: '✍️', name: '文案工具箱', desc: '一键改写、降 AIGC 率、爆款标题、小红书/朋友圈文案' },
|
||||
];
|
||||
import { config } from '@/config';
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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'],
|
||||
|
||||
@@ -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 生图',
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user