Skip to content

Subagent history fails to load: "subagent history read failed (internal)" after /btw completes #3

Description

@LOGIC-10

Problem

After running /btw to create a sidechain subagent, the subagent runs and completes successfully (status changes from "运行中" to "空闲" in the task manager panel). However, when clicking on the completed subagent to view its conversation history, the UI shows an error:

历史加载失败:subagent history read failed (internal)

The subagent's answer is never visible to the user.

Reproduction

  1. Install dsh-sidechain in DSH web (v0.1.0-rc.5)
  2. In any conversation, run /btw <any question> (e.g. /btw 这个项目和原版有什么区别?一句话回答)
  3. Wait for the subagent to finish (status shows "空闲")
  4. Click on the subagent in the task manager panel to view its history
  5. Error appears: "历史加载失败:subagent history read failed (internal)"

Expected behavior

Clicking the completed subagent should show its full conversation history, including the answer it produced.

Environment

  • DSH version: v0.1.0-rc.5 (web profile)
  • Plugin: dsh-sidechain v0.6.3 (from github:Buyi-wsgzg/dsh-sidechain, which redirects to omdsh-dev/dsh-sidechain)
  • OS: macOS
  • The subagent session was created and ran to completion; the error only occurs when reading its history.

Additional notes

  • The main agent continues to work normally after the subagent finishes.
  • The task manager panel correctly shows both the main agent and subagent with their statuses.
  • The error message says "(internal)" which suggests a server-side error when reading the subagent's transcript/session data, rather than a network or permission issue.
  • No detailed error is logged in the DSH web server output.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions