EndpointInfo
public static class EndpointInfo
源码Source
io/agentscope/runtime/app/AgentApp.java:516–520端点信息,承载智能体的部署、调度与服务化运行。位于 io.agentscope.runtime.app 包。核心成员包括 path、handler、methods。
Endpoint information.
字段摘要Field Summary
| 字段Field | 类型Type | 说明Description |
|---|---|---|
path | String | 路径字段。 The path field. |
handler | Function<Map<String, Object>, Object> | 处理器字段。 The handler field. |
methods | List<String> | `methods` 字段。 The methods field. |
字段详情Field Detail
path
public String path
路径字段。声明为 public String path。
The path field.
源码Source
io/agentscope/runtime/app/AgentApp.java:517handler
public Function<Map<String, Object>, Object> handler
处理器字段。声明为 public Function , Object> handler。
The handler field.
源码Source
io/agentscope/runtime/app/AgentApp.java:518methods
public List<String> methods
methods 字段。声明为 public List methods。
The methods field.
源码Source
io/agentscope/runtime/app/AgentApp.java:519