Skip to content

fix(session): 修复系统消息可见性设置错误#64

Merged
qorzj merged 1 commit into
lessweb:mainfrom
hqwlkj:feature/dropdown-menu-refactor
May 14, 2026
Merged

fix(session): 修复系统消息可见性设置错误#64
qorzj merged 1 commit into
lessweb:mainfrom
hqwlkj:feature/dropdown-menu-refactor

Conversation

@hqwlkj
Copy link
Copy Markdown
Contributor

@hqwlkj hqwlkj commented May 14, 2026

  • 修改addSessionSystemMessage方法,新增visible参数控制消息显示
  • 调整调用处传递visible参数,确保系统消息正确显示
  • 更新buildSystemMessage方法接收visible参数并正确设置消息属性
  • 保障当sessionId存在时才添加系统消息
  • 修正消息创建时visible属性的默认值问题

- 修改addSessionSystemMessage方法,新增visible参数控制消息显示
- 调整调用处传递visible参数,确保系统消息正确显示
- 更新buildSystemMessage方法接收visible参数并正确设置消息属性
- 保障当sessionId存在时才添加系统消息
- 修正消息创建时visible属性的默认值问题
@qorzj qorzj merged commit 6a3e9a3 into lessweb:main May 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants