ManagerConfig
public class ManagerConfig
io/agentscope/runtime/sandbox/manager/model/ManagerConfig.java:36–239沙箱管理器环境配置。位于 io.agentscope.runtime.sandbox.manager.model 包。核心成员包括 getAgentBayApiKey、getDefaultSandboxType、getContainerPrefixKey、getRedisEnabled、getClientConfig、getPortRange。
Sandbox Manager Environment Configuration Class
嵌套类摘要Nested Class Summary
| 类Class | 类型Kind | 说明Description |
|---|---|---|
Builder | 类class | 构建器,用于构建并配置目标实例。 A class in io.agentscope.runtime.sandbox.manager.model that talks to model services and returns generated or embedded output. |
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public String getAgentBayApiKey() | 获取 `getAgentBayApiKey`。 Returns the agent bay api key. |
public List<SandboxType> getDefaultSandboxType() | 获取默认沙箱类型。 Returns the default sandbox type. |
public String getContainerPrefixKey() | 获取 `getContainerPrefixKey`。 Returns the container prefix key. |
public Boolean getRedisEnabled() | 获取 `getRedisEnabled`。 Returns the redis enabled. |
public BaseClientConfig getClientConfig() | 获取客户端配置。 Returns the client config. |
public PortRange getPortRange() | 获取 `getPortRange`。 Returns the port range. |
public int getPoolSize() | 获取连接池大小。 Returns the pool size. |
public FileSystemConfig getFileSystemConfig() | 获取文件系统配置。 Returns the file system config. |
public RedisManagerConfig getRedisConfig() | 获取 `getRedisConfig`。 Returns the redis config. |
public String getBaseUrl() | 获取基类 URL。 Returns the base url. |
public String getBearerToken() | 获取 `getBearerToken`。 Returns the bearer token. |
public static Builder builder()static | 返回构建器实例。 Returns the builder. |
方法详情Method Detail
getAgentBayApiKey
public String getAgentBayApiKey()
获取 getAgentBayApiKey。
Returns the agent bay api key.
Stringio/agentscope/runtime/sandbox/manager/model/ManagerConfig.java:56–58getDefaultSandboxType
public List<SandboxType> getDefaultSandboxType()
获取默认沙箱类型。
Returns the default sandbox type.
List<SandboxType>io/agentscope/runtime/sandbox/manager/model/ManagerConfig.java:119–121getContainerPrefixKey
public String getContainerPrefixKey()
获取 getContainerPrefixKey。
Returns the container prefix key.
Stringio/agentscope/runtime/sandbox/manager/model/ManagerConfig.java:123–125getRedisEnabled
public Boolean getRedisEnabled()
获取 getRedisEnabled。
Returns the redis enabled.
Booleanio/agentscope/runtime/sandbox/manager/model/ManagerConfig.java:127–129getClientConfig
public BaseClientConfig getClientConfig()
获取客户端配置。
Returns the client config.
BaseClientConfigio/agentscope/runtime/sandbox/manager/model/ManagerConfig.java:131–133getPortRange
public PortRange getPortRange()
获取 getPortRange。
Returns the port range.
PortRangeio/agentscope/runtime/sandbox/manager/model/ManagerConfig.java:135–137getPoolSize
public int getPoolSize()
获取连接池大小。
Returns the pool size.
intio/agentscope/runtime/sandbox/manager/model/ManagerConfig.java:139–141getFileSystemConfig
public FileSystemConfig getFileSystemConfig()
获取文件系统配置。
Returns the file system config.
FileSystemConfigio/agentscope/runtime/sandbox/manager/model/ManagerConfig.java:143–145getRedisConfig
public RedisManagerConfig getRedisConfig()
获取 getRedisConfig。
Returns the redis config.
RedisManagerConfigio/agentscope/runtime/sandbox/manager/model/ManagerConfig.java:147–149getBaseUrl
public String getBaseUrl()
获取基类 URL。
Returns the base url.
Stringio/agentscope/runtime/sandbox/manager/model/ManagerConfig.java:151–153getBearerToken
public String getBearerToken()
获取 getBearerToken。
Returns the bearer token.
Stringio/agentscope/runtime/sandbox/manager/model/ManagerConfig.java:155–157builder
public static Builder builder()
返回构建器实例。
Returns the builder.
Builderio/agentscope/runtime/sandbox/manager/model/ManagerConfig.java:159–161嵌套类详情Nested Class Detail
Builder
public static class Builder构建器,用于构建并配置目标实例。位于 io.agentscope.runtime.sandbox.manager.model 包。核心成员包括 containerPrefixKey、storageFolder、redisConfig、bearerToken、baseUrl、containerDeployment。
A class in io.agentscope.runtime.sandbox.manager.model that talks to model services and returns generated or embedded output. Declared in io.agentscope.runtime.sandbox.manager.model.