feat(ai-chat): AI客服去掉授权,改为免费引导功能

- 前端 license.ts 移除 /ai-chat(14->13);服务端 PROTECTED_TOOLS 移除(16->15)
- 同步移除 _handle_aichat 的 check() 闸门(check对清单外工具返回403,只删清单会弄坏功能)
- log_usage 保留;移出后自然归入文本组
- 验证:无授权无试用下 POST /ai/chat 返回200并给出真实回复;在线翻译试用耗尽仍403;
  /ai-chat 页无浮条无弹窗;受控工具CTA=13
- 成本提示:AI客服走NewAPI计费,去授权后任何人可消耗token,建议必要时加频控
This commit is contained in:
personal82555 committed 2026-10-15 10:03:46 +08:00
1 parent 170f504689
commit 8744e046c0
5 files changed
+19 -8

No files matched your search

+1 -1
View File
@@ -137,7 +137,7 @@ async function copyMachine() {
<div class="adv-card">
<div class="adv-icon">🔑</div>
<div class="adv-title">一次激活,全站通用</div>
<div class="adv-desc">输入一次卡密,14 个高级功能全部解锁,无需逐个购买</div>
<div class="adv-desc">输入一次卡密,13 个高级功能全部解锁,无需逐个购买</div>
</div>
<div class="adv-card">
<div class="adv-icon">♾️</div>