Skip to content

Context session#98

Open
phantom5099 wants to merge 2 commits into
mainfrom
context-session
Open

Context session#98
phantom5099 wants to merge 2 commits into
mainfrom
context-session

Conversation

@phantom5099

Copy link
Copy Markdown
Owner
  1. 移除了UserEvent、AssistantEvent、ToolResultEvent等事件中的uuid、timestamp、tokenCount等冗余字段
  2. 重构了SessionService相关API,移除不需要的参数传递
  3. 更新了上下文压缩逻辑,使用endTurnId替代lastSummarizedTurnId并简化SummaryEvent结构
  4. 替换了旧的hide/unhide事件体系,使用rollback事件统一处理会话回滚逻辑
  5. 重构了TUI的消息ID生成逻辑,使用turnId+序号替代旧的uuid生成方式
  6. 删除了不再需要的delete-message测试文件
  7. 修复了多处在测试中使用的模拟数据,匹配新的事件结构

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.

1 participant