Skip to content

[Feature]: 通过AguiAgentRegistry注册的agent被创建时支持传参 #583

@bybywudi

Description

@bybywudi

目前的代码是

    public void configureAgents(AguiAgentRegistry registry) {
        registry.registerFactory("default", this::createAgent);
    }

希望能做到类似于这种效果:

    public void configureAgents(AguiAgentRegistry registry) {
        registry.registerFactory("default", createAgent(sessionId));
    }

这能够让agent创建的控制更精细,能够向子agent传递更多信息进行更好的上下文控制等

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions