Skip to content

[Bug]: Revert 后发送消息,模型响应但 Session UI 不显示内容 #1035

@JJJACKsong

Description

@JJJACKsong

Summary

在使用 Revert 功能回滚到之前的某条用户消息后,继续发送新消息时,虽然模型会正常响应,但响应内容不会显示在聊天界面中

Steps to reproduce

  1. 打开 OpenWork Desktop
  2. 创建一个新的会话(session)
  3. 发送 2-3 条消息,与 LLM 正常对话
  4. 使用 Revert 功能回滚到之前的某条用户消息
  5. 发送新的 prompt
  6. 观察 UI 行为

Expected behavior

  • Revert 后发送的消息应该正常显示在聊天界面中
  • 模型的响应应该正常渲染并显示

Actual behavior

  • 模型正常响应
  • 但响应内容不显示在 UI 中
  • 聊天界面看起来像是"卡住"或没有收到响应

Related Issues

Upstream Related

Environment

  • OS: Windows 11
  • OpenWork Version: v0.11.x
  • App Type: Desktop app

Priority

High - 此问题严重影响 revert 功能的可用性

Metadata

Metadata

Assignees

No one assigned

    Labels

    upstreamA bug in the upstream OpenCode package

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions