什么是 tts-error-reporting?
从多处理 TTS 工作人员向主流程前端报告错误的约定。在 tts_client.py 中修改、添加或调试 TTS Worker 时使用此技能,以确保连接错误、配额和 API 限制正确向用户显示 Toast 通知,而不是默默失败。 来源:project-n-e-k-o/n.e.k.o。
从多处理 TTS 工作人员向主流程前端报告错误的约定。在 tts_client.py 中修改、添加或调试 TTS Worker 时使用此技能,以确保连接错误、配额和 API 限制正确向用户显示 Toast 通知,而不是默默失败。
通过命令行快速安装 tts-error-reporting AI 技能到你的开发环境
来源:project-n-e-k-o/n.e.k.o。
To ensure users are properly notified when a TTS service encounters an error (such as quota exhaustion, API issues, or connection failures), TTS workers running in separate processes must propagate errors back to the main process (core.py).
When a TTS worker (e.g. steprealtimettsworker, qwenrealtimettsworker, etc.) catches an error, it MUST NOT only log the error using logger.error(). It MUST ALSO send the error message back to the main process through its responsequeue using the explicit tuple format ("error", errormsg).
This ensures that core.py's ttsresponsehandler can intercept the error and translate it into a frontend WebSocket message (type: 'status'), triggering a user-friendly Toast notification (e.g., "💥 免费TTS限额已耗尽").
从多处理 TTS 工作人员向主流程前端报告错误的约定。在 tts_client.py 中修改、添加或调试 TTS Worker 时使用此技能,以确保连接错误、配额和 API 限制正确向用户显示 Toast 通知,而不是默默失败。 来源:project-n-e-k-o/n.e.k.o。
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/project-n-e-k-o/n.e.k.o --skill tts-error-reporting从多处理 TTS 工作人员向主流程前端报告错误的约定。在 tts_client.py 中修改、添加或调试 TTS Worker 时使用此技能,以确保连接错误、配额和 API 限制正确向用户显示 Toast 通知,而不是默默失败。 来源:project-n-e-k-o/n.e.k.o。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/project-n-e-k-o/n.e.k.o --skill tts-error-reporting 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/project-n-e-k-o/n.e.k.o