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.
String返回字符串结果。Returns a string.
源码Source
io/agentscope/runtime/engine/schemas/BaseRequest.java:28–30setId
public void setId(String id)
设置标识。
Sets the id.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
id | String | 标识(类型 `String`)。The id. |
源码Source
io/agentscope/runtime/engine/schemas/BaseRequest.java:32–34