CloudSandbox
public abstract class CloudSandbox extends Sandbox
源码Source
io/agentscope/runtime/sandbox/box/CloudSandbox.java:21–29Cloud 沙箱,承载智能体的部署、调度与服务化运行。位于 io.agentscope.runtime.sandbox.box 包,继承自 Sandbox。核心成员包括 CloudSandbox。
A class in io.agentscope.runtime.sandbox.box that deploys, schedules and serves agents. Declared in io.agentscope.runtime.sandbox.box. Extends Sandbox.
构造器摘要Constructor Summary
| 构造器Constructor | 说明Description |
|---|---|
public CloudSandbox(SandboxService managerApi, String userId, String sessionId, String sandboxType) | 初始化 `CloudSandbox` 实例。 Creates a new instance. |
构造器详情Constructor Detail
CloudSandbox
public CloudSandbox(SandboxService managerApi, String userId, String sessionId, String sandboxType)
初始化 CloudSandbox 实例。
Creates a new instance.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
managerApi | SandboxService | 管理器 API(类型 `SandboxService`)。The manager api. |
userId | String | 用户标识(类型 `String`)。The user id. |
sessionId | String | 会话标识(类型 `String`)。The session id. |
sandboxType | String | 沙箱类型(类型 `String`)。The sandbox type. |
源码Source
io/agentscope/runtime/sandbox/box/CloudSandbox.java:22–28