【优化】优化 chat event stream 模式交互,增加 add message 优先记录

This commit is contained in:
cherishsince
2024-05-12 19:04:58 +08:00
parent aaf1599f7a
commit 5a4162cdc1
13 changed files with 181 additions and 259 deletions

View File

@ -36,5 +36,9 @@ public interface ErrorCodeConstants {
ErrorCode AI_CHAT_ROLE_NOT_EXIST = new ErrorCode(1_022_000_060, "AI 角色不存在!");
ErrorCode AI_CHAT_ROLE_NOT_PUBLIC = new ErrorCode(1_022_000_060, "AI 角色未公开!");
// chat
ErrorCode AI_CHAT_MESSAGE_NOT_EXIST = new ErrorCode(1_022_000_100, "AI 提问的 MessageId 不存在!");
}