Skip to content

[Question]: #1364

@aa456852112

Description

@aa456852112

标题建议: [Bug] Hermes Studio UI shows "thinking" after agent has finished replying

内容:

Please describe your issue

Hermes Studio 客户端在 Agent 已经完成回复后,界面仍持续显示"思考中"的加载状态。这时回复文字已经展示在界面上,但 UI 的状态指示器没有同步切换到完成状态。

具体表现:

  • Agent 已经输出完整回复(文字可见)
  • 底部状态栏或输入区域仍然显示"思考中"或加载动画
  • 如果有后续 tool call(如 execute_code),即使回复文字已交付,UI 仍然保持在思考状态直到所有 tool call 结束
  • 这导致用户以为 Agent 还在工作,但实际上结果已经可以阅读了

Context

这个问题不是每次必现,但比较频繁。我观察到当 Agent 在回复之后还执行了一些额外的验证 tool call(比如最后又跑了 execute_code 做检查),UI 状态就不会正确切换到"完成"。即使 Agent 的回复文字已经完整展示,状态指示器仍然停留在思考状态。

建议:UI 应该在助手第一次输出文字时就切换状态,后续的 tool call 可以作为后台任务不影响状态显示。

Environment (if applicable)

  • Hermes Web UI Version: 0.6.9
  • Hermes Agent Version: 0.6.9
  • Operating System: Windows 10
  • Node Version: -

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions