AgentscopeAgentsEndpoint
@Endpoint(id = "agentscope-agents") public class AgentscopeAgentsEndpoint
源码Source
io/agentscope/spring/boot/admin/endpoint/AgentscopeAgentsEndpoint.java:25–38Agentscope 智能体端点,承载智能体的部署、调度与服务化运行。位于 io.agentscope.spring.boot.admin.endpoint 包。核心成员包括 agents、AgentscopeAgentsEndpoint。
GET /actuator/agentscope-agents: enumerate agents known to the registry.
构造器摘要Constructor Summary
| 构造器Constructor | 说明Description |
|---|---|
public AgentscopeAgentsEndpoint(AgentInventory inventory) | 初始化 `AgentscopeAgentsEndpoint` 实例。 Creates a new instance. |
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public List<AgentDescriptor> agents() | 返回智能体。 Returns the agents. |
构造器详情Constructor Detail
AgentscopeAgentsEndpoint
public AgentscopeAgentsEndpoint(AgentInventory inventory)
初始化 AgentscopeAgentsEndpoint 实例。
Creates a new instance.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
inventory | AgentInventory | 清单(类型 `AgentInventory`)。The inventory. |
源码Source
io/agentscope/spring/boot/admin/endpoint/AgentscopeAgentsEndpoint.java:30–32方法详情Method Detail
agents
public List<AgentDescriptor> agents()
返回智能体。
Returns the agents.
List<AgentDescriptor>返回列出。Returns list.
源码Source
io/agentscope/spring/boot/admin/endpoint/AgentscopeAgentsEndpoint.java:34–37