Commit 2ce5c805de98fc8594d808f4725edfe9f3ed15b0
1 parent
a33ea4aa
增加 chat对话不存在errorCode
Showing
1 changed file
with
9 additions
and
0 deletions
yudao-module-ai/yudao-module-ai-api/src/main/java/cn/iocoder/yudao/module/ai/ErrorCodeConstants.java
| @@ -15,5 +15,14 @@ public interface ErrorCodeConstants { | @@ -15,5 +15,14 @@ public interface ErrorCodeConstants { | ||
| 15 | ErrorCode AI_MODULE_NOT_SUPPORTED = new ErrorCode(1_022_000_000, "AI模型暂不支持!"); | 15 | ErrorCode AI_MODULE_NOT_SUPPORTED = new ErrorCode(1_022_000_000, "AI模型暂不支持!"); |
| 16 | 16 | ||
| 17 | ErrorCode AI_CHAT_ROLE_NOT_EXISTENT = new ErrorCode(1_022_000_001, "AI Role 不存在!");; | 17 | ErrorCode AI_CHAT_ROLE_NOT_EXISTENT = new ErrorCode(1_022_000_001, "AI Role 不存在!");; |
| 18 | + | ||
| 19 | + | ||
| 18 | ErrorCode AI_CHAT_CONTINUE_CONVERSATION_ID_NOT_NULL = new ErrorCode(1_022_000_002, "chat 继续对话,对话id不能为空!");; | 20 | ErrorCode AI_CHAT_CONTINUE_CONVERSATION_ID_NOT_NULL = new ErrorCode(1_022_000_002, "chat 继续对话,对话id不能为空!");; |
| 21 | + | ||
| 22 | + | ||
| 23 | + | ||
| 24 | + ErrorCode AI_CHAT_CONTINUE_NOT_EXIST = new ErrorCode(1_022_000_020, "chat对话不存在!");; | ||
| 25 | + | ||
| 26 | + | ||
| 27 | + | ||
| 19 | } | 28 | } |