AgentscopeModelsEndpoint
@Endpoint(id = "agentscope-models") public class AgentscopeModelsEndpoint
源码Source
io/agentscope/spring/boot/admin/endpoint/AgentscopeModelsEndpoint.java:24–37Agentscope 模型端点,承载智能体的部署、调度与服务化运行。位于 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 |
|---|---|---|
inventory | AgentInventory | 清单(类型 `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.
Map<String, String>返回映射。Returns map.
源码Source
io/agentscope/spring/boot/admin/endpoint/AgentscopeModelsEndpoint.java:33–36