Multi代理(Agent)Loader

Deprecated

Use InMemoryAppLoader instead. Scheduled for removal in 2.0.

An AgentLoader serving a fixed set of agents, each under its own name.

SingleAgentLoader is the one-agent case.

构造函数(Constructors)

Link copied to clipboard
constructor(vararg agents: BaseAgent)

函数

Link copied to clipboard
open override fun listAgents(): List<String>

返回一个包含所有可用代理名称的列表。

Link copied to clipboard
open override fun loadAgent(agentName: String): BaseAgent?

加载指定代理名称对应的 BaseAgent 实例。