Skip to content

BUG: --resume 后空格预览 thinking block 渲染截断,显示不完整 #5555

Description

@Eric-GoodBoy-Tech

What happened?

使用 qwen --resume 恢复之前的会话后,按空格键展开 preview 查看 thinking block 时,思考内容渲染异常——被截断显示,出现省略号/换行断裂。

具体表现:

  • 内容是正确的——JSONL 中的 thinking 数据完整
  • 但 CLI 渲染输出被截断——显示的文本在中途断裂,无法完整阅读
  • 按空格 preview 模式下尤其明显

What did you expect to happen?

--resume 后按空格预览 thinking block 应该显示完整的思考内容,和实时会话中的显示效果一致。

Client information

Qwen Code v0.18.4
Model: deepseek-v4-pro
Fast Model: deepseek-v4-flash
Auth: openai
Platform: darwin arm64 (27.0.0)
Node.js: v24.16.0
Session: 1181ddce-c5e5-4408-8e41-2be286f601d8
Git commit: c898e9f6a
LSP: disabled

Anything else we need to know?

  • 与 #5472 和 #5408 相关但不是同一个问题——这里是 resume 后的 rendering truncation,不是实时 streaming 的折叠/展开问题。
  • compactMode 使用默认设置。
  • 使用 DeepSeek reasoning_content。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    category/uiUser interface and displaypriority/P2Medium - Moderately impactful, noticeable problemscope/renderingDisplay and rendering logicscope/session-managementSession state and persistencetype/bugSomething isn't working as expectedwelcome-pr

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions