AgentscopeDoctorEndpoint
@Endpoint(id = "agentscope-doctor") public class AgentscopeDoctorEndpoint
源码Source
io/agentscope/spring/boot/admin/endpoint/AgentscopeDoctorEndpoint.java:36–115Agentscope Doctor 端点,承载智能体的部署、调度与服务化运行。位于 io.agentscope.spring.boot.admin.endpoint 包。核心成员包括 diagnose、AgentscopeDoctorEndpoint。
GET /actuator/agentscope-doctor: opinionated self-check.
Each check has an outcome (ok, warn, error) plus a short message.
Designed to complement Spring Boot's own /actuator/health — health says "is the process
up", doctor says "is the AgentScope deployment in a sensible state".
构造器摘要Constructor Summary
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public Map<String, Object> diagnose() | 返回 `diagnose` 结果。 Returns the diagnose. |
构造器详情Constructor Detail
AgentscopeDoctorEndpoint
public AgentscopeDoctorEndpoint(AdminProperties properties, AgentInventory inventory, ObjectProvider<AgentStateStore> sessions)
初始化 AgentscopeDoctorEndpoint 实例。
Creates a new instance.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
properties | AdminProperties | 属性(类型 `AdminProperties`)。The properties. |
inventory | AgentInventory | 清单(类型 `AgentInventory`)。The inventory. |
sessions | ObjectProvider<AgentStateStore> | 会话(类型 `ObjectProvider`)。The sessions. |
源码Source
io/agentscope/spring/boot/admin/endpoint/AgentscopeDoctorEndpoint.java:43–50方法详情Method Detail
diagnose
public Map<String, Object> diagnose()
返回 diagnose 结果。
Returns the diagnose.
Map<String, Object>返回映射。Returns map.
源码Source
io/agentscope/spring/boot/admin/endpoint/AgentscopeDoctorEndpoint.java:52–106