什麼是 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