Skip to content

子智能体的回收问题 #1911

Open
Open

Description

@hansiweicn-debug

SubagentDeclaration.builder().persistSession(Boolean.TRUE) 现在发现 子智能体的spawn会加入parentSessionId作为子智能体的标识。在同一session中复用,但是我没看到关于子智能体的回收销毁相关的逻辑,harnessAgent又是无状态的设计,那会不会出现内存泄露问题?

Activity

  1. added
    question
    area/core/agent
    on Jul 11, 2026
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

    area/core/agentquestion

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions