AS AgentScopeAPI 手册 / API Reference

BaseRequest

public class BaseRequest
源码Source io/agentscope/runtime/engine/schemas/BaseRequest.java:24–35

基类请求,承载智能体的部署、调度与服务化运行。位于 io.agentscope.runtime.engine.schemas 包。核心成员包括 getId、setId。

Base request model.

方法摘要Method Summary

方法Method说明Description
public String getId()
获取标识。
Returns the id.
public void setId(String id)
设置标识。
Sets the id.

方法详情Method Detail

getId

public String getId()

获取标识。

Returns the id.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/runtime/engine/schemas/BaseRequest.java:28–30

setId

public void setId(String id)

设置标识。

Sets the id.

参数Parameters
名称Name类型Type说明Description
idString标识(类型 `String`)。The id.
源码Source io/agentscope/runtime/engine/schemas/BaseRequest.java:32–34
基于官方固定版本源码静态生成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.