AS AgentScopeAPI 手册 / API Reference

AgentscopeDoctorEndpoint

@Endpoint(id = "agentscope-doctor") public class AgentscopeDoctorEndpoint
源码Source io/agentscope/spring/boot/admin/endpoint/AgentscopeDoctorEndpoint.java:36–115

Agentscope 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

构造器Constructor说明Description
public AgentscopeDoctorEndpoint(AdminProperties properties, AgentInventory inventory, ObjectProvider<AgentStateStore> sessions)
初始化 `AgentscopeDoctorEndpoint` 实例。
Creates a new instance.

方法摘要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
propertiesAdminProperties属性(类型 `AdminProperties`)。The properties.
inventoryAgentInventory清单(类型 `AgentInventory`)。The inventory.
sessionsObjectProvider<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.

返回Returns Map<String, Object>
返回映射。Returns map.
源码Source io/agentscope/spring/boot/admin/endpoint/AgentscopeDoctorEndpoint.java:52–106
基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.