AS AgentScopeAPI 手册 / API Reference

ManagerConfig

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

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

getPortRange

public PortRange getPortRange()

获取 getPortRange。

Returns the port range.

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

getClientStarter

public BaseClientStarter getClientStarter()

获取客户端启动器。

Returns the client starter.

返回Returns BaseClientStarter
返回BaseClientStarter。Returns base client starter.
源码Source io/agentscope/runtime/sandbox/manager/ManagerConfig.java:54–56

getSandboxMap

public SandboxMap getSandboxMap()

获取沙箱映射。

Returns the sandbox map.

返回Returns SandboxMap
返回SandboxMap。Returns sandbox map.
源码Source io/agentscope/runtime/sandbox/manager/ManagerConfig.java:58–60

getBaseUrl

public String getBaseUrl()

获取基类 URL。

Returns the base url.

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

getBearerToken

public String getBearerToken()

获取 getBearerToken。

Returns the bearer token.

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

getAgentBayApiKey

public String getAgentBayApiKey()

获取 getAgentBayApiKey。

Returns the agent bay api key.

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

builder

public static Builder builder()
static

返回构建器实例。

Returns the builder.

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

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