This commit is contained in:
nojava
2026-05-23 23:33:27 +08:00
parent 8b23d02531
commit 8b638f29c6
27 changed files with 2749 additions and 1 deletions
@@ -52,7 +52,8 @@ public enum ErrorCode {
AI_SERVICE_TIMEOUT(5002, "AI 服务响应超时"),
AI_CONTENT_REJECTED(5003, "AI 内容审核未通过"),
AI_CONTENT_TOO_SHORT(5004, "正文过短,无法生成摘要"),
AI_API_KEY_MISSING(5005, "AI 服务未配置 API Key");
AI_API_KEY_MISSING(5005, "AI 服务未配置 API Key"),
AI_CHAT_SESSION_FULL(5006, "当前会话已满 5 轮,请新建会话");
private final int code;
private final String message;