ManagerConfig
public class ManagerConfig
io/agentscope/runtime/sandbox/manager/ManagerConfig.java:25–129管理器配置,保存相关配置项。位于 io.agentscope.runtime.sandbox.manager 包。核心成员包括 getContainerPrefixKey、getPortRange、getClientStarter、getSandboxMap、getBaseUrl、getBearerToken。
A class in io.agentscope.runtime.sandbox.manager that deploys, schedules and serves agents. Declared in io.agentscope.runtime.sandbox.manager.
嵌套类摘要Nested Class Summary
| 类Class | 类型Kind | 说明Description |
|---|---|---|
Builder | 类class | 构建器,用于构建并配置目标实例。 A class in io.agentscope.runtime.sandbox.manager that deploys, schedules and serves agents. |
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public String getContainerPrefixKey() | 获取 `getContainerPrefixKey`。 Returns the container prefix key. |
public PortRange getPortRange() | 获取 `getPortRange`。 Returns the port range. |
public BaseClientStarter getClientStarter() | 获取客户端启动器。 Returns the client starter. |
public SandboxMap getSandboxMap() | 获取沙箱映射。 Returns the sandbox map. |
public String getBaseUrl() | 获取基类 URL。 Returns the base url. |
public String getBearerToken() | 获取 `getBearerToken`。 Returns the bearer token. |
public String getAgentBayApiKey() | 获取 `getAgentBayApiKey`。 Returns the agent bay api key. |
public static Builder builder()static | 返回构建器实例。 Returns the builder. |
方法详情Method Detail
getContainerPrefixKey
public String getContainerPrefixKey()
获取 getContainerPrefixKey。
Returns the container prefix key.
Stringio/agentscope/runtime/sandbox/manager/ManagerConfig.java:46–48getPortRange
public PortRange getPortRange()
获取 getPortRange。
Returns the port range.
PortRangeio/agentscope/runtime/sandbox/manager/ManagerConfig.java:50–52getClientStarter
public BaseClientStarter getClientStarter()
获取客户端启动器。
Returns the client starter.
BaseClientStarterio/agentscope/runtime/sandbox/manager/ManagerConfig.java:54–56getSandboxMap
public SandboxMap getSandboxMap()
获取沙箱映射。
Returns the sandbox map.
SandboxMapio/agentscope/runtime/sandbox/manager/ManagerConfig.java:58–60getBaseUrl
public String getBaseUrl()
获取基类 URL。
Returns the base url.
Stringio/agentscope/runtime/sandbox/manager/ManagerConfig.java:62–64getBearerToken
public String getBearerToken()
获取 getBearerToken。
Returns the bearer token.
Stringio/agentscope/runtime/sandbox/manager/ManagerConfig.java:66–68getAgentBayApiKey
public String getAgentBayApiKey()
获取 getAgentBayApiKey。
Returns the agent bay api key.
Stringio/agentscope/runtime/sandbox/manager/ManagerConfig.java:70–72builder
public static Builder builder()
返回构建器实例。
Returns the builder.
Builderio/agentscope/runtime/sandbox/manager/ManagerConfig.java:74–76嵌套类详情Nested Class Detail
Builder
public static class Builder构建器,用于构建并配置目标实例。位于 io.agentscope.runtime.sandbox.manager 包。核心成员包括 containerPrefixKey、portRange、clientStarter、sandboxMap、baseUrl、bearerToken。
A class in io.agentscope.runtime.sandbox.manager that deploys, schedules and serves agents. Declared in io.agentscope.runtime.sandbox.manager.