AgentscopeStatusEndpoint
@Endpoint(id = "agentscope-status") public class AgentscopeStatusEndpoint
源码Source
io/agentscope/spring/boot/admin/endpoint/AgentscopeStatusEndpoint.java:26–46Agentscope 状态端点,承载智能体的部署、调度与服务化运行。位于 io.agentscope.spring.boot.admin.endpoint 包。核心成员包括 status、AgentscopeStatusEndpoint。
GET /actuator/agentscope-status: process-wide health summary.
构造器摘要Constructor Summary
| 构造器Constructor | 说明Description |
|---|---|
public AgentscopeStatusEndpoint(AgentInventory inventory, AdminProperties properties) | 初始化 `AgentscopeStatusEndpoint` 实例。 Creates a new instance. |
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public Map<String, Object> status() | 返回状态。 Returns the status. |
构造器详情Constructor Detail
AgentscopeStatusEndpoint
public AgentscopeStatusEndpoint(AgentInventory inventory, AdminProperties properties)
初始化 AgentscopeStatusEndpoint 实例。
Creates a new instance.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
inventory | AgentInventory | 清单(类型 `AgentInventory`)。The inventory. |
properties | AdminProperties | 属性(类型 `AdminProperties`)。The properties. |
源码Source
io/agentscope/spring/boot/admin/endpoint/AgentscopeStatusEndpoint.java:32–35方法详情Method Detail
status
public Map<String, Object> status()
返回状态。
Returns the status.
Map<String, Object>返回映射。Returns map.
源码Source
io/agentscope/spring/boot/admin/endpoint/AgentscopeStatusEndpoint.java:37–45