Go to file
wsb1224 ec876e1362 修复扣费失败无条件终止语音会话:仅余额不足时才终止
原逻辑 if True: 导致数据库瞬时错误也终止整个语音事件循环,
AI 回复被中途截断。改为仅当 reason == insufficient_tokens 时
才终止,其他扣费错误(如 DB 超时)不中断会话。

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-06-10 15:42:31 +08:00
.claude 修复toekn权限和语音聊天功能 2026-06-10 12:56:24 +08:00
.cursor/skills/commit-after-each-change 第一次提交 2026-04-12 11:32:37 +08:00
backend 修复扣费失败无条件终止语音会话:仅余额不足时才终止 2026-06-10 15:42:31 +08:00
docs 第一次提交 2026-04-12 11:32:37 +08:00
frontend 修复语音/通话音频断续:改为持续运行的队列处理器 2026-06-10 15:29:54 +08:00
.env.example 第一次提交 2026-04-12 11:32:37 +08:00
.gitignore 第一次提交 2026-04-12 11:31:54 +08:00
.user.ini 第一次提交 2026-04-12 11:32:37 +08:00
create_admin_user.py 第一次提交 2026-04-12 11:32:37 +08:00
create_pet_avatars.py 第一次提交 2026-04-12 11:32:37 +08:00
create_tables.py 第一次提交 2026-04-12 11:32:37 +08:00
nginx_proxy_wentuu.com.conf 修复toekn权限和语音聊天功能 2026-06-07 10:22:37 +08:00
nginx_wentuu.com.conf 修复toekn权限和语音聊天功能 2026-06-07 10:22:37 +08:00
nginx.conf 解除“文件过大”限制 2026-05-23 15:24:27 +08:00
patch.py 修复toekn权限和语音聊天功能 2026-06-07 10:22:37 +08:00
pet_companion.sql 第一次提交 2026-04-12 11:32:37 +08:00
test_patch.py 修复toekn权限和语音聊天功能 2026-06-07 10:22:37 +08:00
token_optimization_plan.md 修复toekn权限和语音聊天功能 2026-06-07 10:22:37 +08:00