AS AgentScopeAPI 手册 / API Reference

ManagerConfig

public class ManagerConfig
源码Source 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.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/runtime/sandbox/manager/model/ManagerConfig.java:56–58

getDefaultSandboxType

public List<SandboxType> getDefaultSandboxType()

获取默认沙箱类型。

Returns the default sandbox type.

返回Returns List<SandboxType>
返回列出。Returns list.
源码Source io/agentscope/runtime/sandbox/manager/model/ManagerConfig.java:119–121

getContainerPrefixKey

public String getContainerPrefixKey()

获取 getContainerPrefixKey。

Returns the container prefix key.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/runtime/sandbox/manager/model/ManagerConfig.java:123–125

getRedisEnabled

public Boolean getRedisEnabled()

获取 getRedisEnabled。

Returns the redis enabled.

返回Returns Boolean
返回布尔值,表示判断结果。Returns a boolean result.
源码Source io/agentscope/runtime/sandbox/manager/model/ManagerConfig.java:127–129

getClientConfig

public BaseClientConfig getClientConfig()

获取客户端配置。

Returns the client config.

返回Returns BaseClientConfig
返回BaseClientConfig。Returns base client config.
源码Source io/agentscope/runtime/sandbox/manager/model/ManagerConfig.java:131–133

getPortRange

public PortRange getPortRange()

获取 getPortRange。

Returns the port range.

返回Returns PortRange
返回PortRange。Returns port range.
源码Source io/agentscope/runtime/sandbox/manager/model/ManagerConfig.java:135–137

getPoolSize

public int getPoolSize()

获取连接池大小。

Returns the pool size.

返回Returns int
返回数值结果。Returns a numeric result.
源码Source io/agentscope/runtime/sandbox/manager/model/ManagerConfig.java:139–141

getFileSystemConfig

public FileSystemConfig getFileSystemConfig()

获取文件系统配置。

Returns the file system config.

返回Returns FileSystemConfig
返回FileSystemConfig。Returns file system config.
源码Source io/agentscope/runtime/sandbox/manager/model/ManagerConfig.java:143–145

getRedisConfig

public RedisManagerConfig getRedisConfig()

获取 getRedisConfig。

Returns the redis config.

返回Returns RedisManagerConfig
返回RedisManagerConfig。Returns redis manager config.
源码Source io/agentscope/runtime/sandbox/manager/model/ManagerConfig.java:147–149

getBaseUrl

public String getBaseUrl()

获取基类 URL。

Returns the base url.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/runtime/sandbox/manager/model/ManagerConfig.java:151–153

getBearerToken

public String getBearerToken()

获取 getBearerToken。

Returns the bearer token.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/runtime/sandbox/manager/model/ManagerConfig.java:155–157

builder

public static Builder builder()
static

返回构建器实例。

Returns the builder.

返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/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.

基于官方固定版本源码静态生成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.