BuilderE2bProperties
@ConfigurationProperties(prefix = "builder.e2b") public class BuilderE2bProperties
io/agentscope/builder/web/config/BuilderE2bProperties.java:25–104构建器 E 2 b 属性,承载智能体的部署、调度与服务化运行。位于 io.agentscope.builder.web.config 包。核心成员包括 getApiKey、setApiKey、getTemplateId、setTemplateId、getWorkspaceRoot、setWorkspaceRoot。
Global defaults for Managed Environment type=sandbox (E2B cloud). Per-environment
config overrides these values. Set BUILDER_E2B_API_KEY or E2B_API_KEY
when not embedding the key in environment config.
方法摘要Method Summary
方法详情Method Detail
getApiKey
public String getApiKey()
获取API 键。
Returns the api key.
Stringio/agentscope/builder/web/config/BuilderE2bProperties.java:49–51setApiKey
public void setApiKey(String apiKey)
设置API 键。
Sets the api key.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
apiKey | String | API 键(类型 `String`)。The api key. |
io/agentscope/builder/web/config/BuilderE2bProperties.java:53–55getTemplateId
public String getTemplateId()
获取模板标识。
Returns the template id.
Stringio/agentscope/builder/web/config/BuilderE2bProperties.java:57–59setTemplateId
public void setTemplateId(String templateId)
设置模板标识。
Sets the template id.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
templateId | String | 模板标识(类型 `String`)。The template id. |
io/agentscope/builder/web/config/BuilderE2bProperties.java:61–63getWorkspaceRoot
public String getWorkspaceRoot()
获取工作区根。
Returns the workspace root.
Stringio/agentscope/builder/web/config/BuilderE2bProperties.java:65–67setWorkspaceRoot
public void setWorkspaceRoot(String workspaceRoot)
设置工作区根。
Sets the workspace root.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
workspaceRoot | String | 工作区根(类型 `String`)。The workspace root. |
io/agentscope/builder/web/config/BuilderE2bProperties.java:69–71getSandboxTimeoutSeconds
public int getSandboxTimeoutSeconds()
获取沙箱超时秒。
Returns the sandbox timeout seconds.
intio/agentscope/builder/web/config/BuilderE2bProperties.java:73–75setSandboxTimeoutSeconds
public void setSandboxTimeoutSeconds(int sandboxTimeoutSeconds)
设置沙箱超时秒。
Sets the sandbox timeout seconds.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
sandboxTimeoutSeconds | int | 沙箱超时秒(类型 `int`)。The sandbox timeout seconds. |
io/agentscope/builder/web/config/BuilderE2bProperties.java:77–79getApiBaseUrl
public String getApiBaseUrl()
获取API 基类 URL。
Returns the api base url.
Stringio/agentscope/builder/web/config/BuilderE2bProperties.java:81–83setApiBaseUrl
public void setApiBaseUrl(String apiBaseUrl)
设置API 基类 URL。
Sets the api base url.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
apiBaseUrl | String | API 基类 URL(类型 `String`)。The api base url. |
io/agentscope/builder/web/config/BuilderE2bProperties.java:85–87getDomain
public String getDomain()
获取 getDomain。
Returns the domain.
Stringio/agentscope/builder/web/config/BuilderE2bProperties.java:89–91setDomain
public void setDomain(String domain)
设置 setDomain。
Sets the domain.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
domain | String | domain(类型 `String`)。The domain. |
io/agentscope/builder/web/config/BuilderE2bProperties.java:93–95getPersistenceMode
public String getPersistenceMode()
获取持久化模式。
Returns the persistence mode.
Stringio/agentscope/builder/web/config/BuilderE2bProperties.java:97–99setPersistenceMode
public void setPersistenceMode(String persistenceMode)
设置持久化模式。
Sets the persistence mode.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
persistenceMode | String | 持久化模式(类型 `String`)。The persistence mode. |
io/agentscope/builder/web/config/BuilderE2bProperties.java:101–103