AS AgentScopeAPI 手册 / API Reference

AgentscopeModelsEndpoint

@Endpoint(id = "agentscope-models") public class AgentscopeModelsEndpoint
源码Source io/agentscope/spring/boot/admin/endpoint/AgentscopeModelsEndpoint.java:24–37

Agentscope 模型端点,承载智能体的部署、调度与服务化运行。位于 io.agentscope.spring.boot.admin.endpoint 包。核心成员包括 models、AgentscopeModelsEndpoint。

GET /actuator/agentscope-models: {beanName -> modelName} map.

构造器摘要Constructor Summary

构造器Constructor说明Description
public AgentscopeModelsEndpoint(AgentInventory inventory)
初始化 `AgentscopeModelsEndpoint` 实例。
Creates a new instance.

方法摘要Method Summary

方法Method说明Description
public Map<String, String> models()
返回模型。
Returns the models.

构造器详情Constructor Detail

AgentscopeModelsEndpoint

public AgentscopeModelsEndpoint(AgentInventory inventory)

初始化 AgentscopeModelsEndpoint 实例。

Creates a new instance.

参数Parameters
名称Name类型Type说明Description
inventoryAgentInventory清单(类型 `AgentInventory`)。The inventory.
源码Source io/agentscope/spring/boot/admin/endpoint/AgentscopeModelsEndpoint.java:29–31

方法详情Method Detail

models

public Map<String, String> models()

返回模型。

Returns the models.

返回Returns Map<String, String>
返回映射。Returns map.
源码Source io/agentscope/spring/boot/admin/endpoint/AgentscopeModelsEndpoint.java:33–36
基于官方固定版本源码静态生成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.