AS AgentScopeAPI 手册 / API Reference

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:517

handler

public Function<Map<String, Object>, Object> handler

处理器字段。声明为 public Function , Object> handler。

The handler field.

源码Source io/agentscope/runtime/app/AgentApp.java:518

methods

public List<String> methods

methods 字段。声明为 public List methods。

The methods field.

源码Source io/agentscope/runtime/app/AgentApp.java:519
基于官方固定版本源码静态生成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.