This commit is contained in:
2026-01-26 20:36:51 +08:00
parent 3a5a6395af
commit e8b4b2c58a
7 changed files with 338 additions and 170 deletions

View File

@@ -9,10 +9,10 @@
NS_ASSUME_NONNULL_BEGIN
/// 消息发送者类型
/// 消息发送者类型(与后端保持一致)
typedef NS_ENUM(NSInteger, KBChatSender) {
KBChatSenderUser = 0, // 用户
KBChatSenderAssistant = 1 // AI 助手
KBChatSenderUser = 1, // 用户(右侧显示)
KBChatSenderAssistant = 2 // AI 助手(左侧显示)
};
/// 聊天记录模型