SessionAgentBuildSpec
public record SessionAgentBuildSpec( Integer version, String environmentId, EnvironmentDto environment, String overridesJson, List<String> memoryStoreIds, List<String> vaultIds, List<Map<String, Object>> resources)
io/agentscope/builder/web/managed/SessionAgentBuildSpec.java:27–70承载会话智能体构建规格数据的记录类型。位于 io.agentscope.builder.web.managed 包。核心成员包括 version、environmentId、environment、overridesJson、memoryStoreIds、vaultIds。
Runtime build parameters for a managed-session io.agentscope.harness.agent.HarnessAgent.
Cache key is (owner, agent, version, environmentId); overrides / memory / vaults /
resources are applied at build time so distinct mount sets get distinct agent instances.
记录组件摘要Record Component Summary
| 组件Component | 类型Type | 说明Description |
|---|---|---|
version | Integer | 执行版本相关操作。 Performs the version operation. |
environmentId | String | 执行环境标识相关操作。 Performs the environment id operation. |
environment | EnvironmentDto | 执行环境相关操作。 Performs the environment operation. |
overridesJson | String | 执行 `overridesJson` 方法。 Performs the overrides json operation. |
memoryStoreIds | List<String> | 执行 `memoryStoreIds` 方法。 Performs the memory store ids operation. |
vaultIds | List<String> | 执行 `vaultIds` 方法。 Performs the vault ids operation. |
resources | List<Map<String, Object>> | 执行 `resources` 方法。 Performs the resources operation. |
构造器摘要Constructor Summary
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public String cacheSuffix() | 返回 `cacheSuffix` 结果。 Builds a cache/gateway suffix from the stable identity fields. |
记录组件详情Record Component Detail
version
Integer version执行版本相关操作。
Performs the version operation.
io/agentscope/builder/web/managed/SessionAgentBuildSpec.java:27–70environmentId
String environmentId执行环境标识相关操作。
Performs the environment id operation.
io/agentscope/builder/web/managed/SessionAgentBuildSpec.java:27–70environment
EnvironmentDto environment执行环境相关操作。
Performs the environment operation.
io/agentscope/builder/web/managed/SessionAgentBuildSpec.java:27–70overridesJson
String overridesJson执行 overridesJson 方法。
Performs the overrides json operation.
io/agentscope/builder/web/managed/SessionAgentBuildSpec.java:27–70memoryStoreIds
List<String> memoryStoreIds执行 memoryStoreIds 方法。
Performs the memory store ids operation.
io/agentscope/builder/web/managed/SessionAgentBuildSpec.java:27–70vaultIds
List<String> vaultIds执行 vaultIds 方法。
Performs the vault ids operation.
io/agentscope/builder/web/managed/SessionAgentBuildSpec.java:27–70resources
List<Map<String, Object>> resources执行 resources 方法。
Performs the resources operation.
io/agentscope/builder/web/managed/SessionAgentBuildSpec.java:27–70构造器详情Constructor Detail
SessionAgentBuildSpec
public SessionAgentBuildSpec(Integer version, String environmentId, EnvironmentDto environment, String overridesJson, List<String> memoryStoreIds, List<String> vaultIds)
初始化 SessionAgentBuildSpec 实例。
Creates a new instance.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
version | Integer | 版本(类型 `Integer`)。The version. |
environmentId | String | 环境标识(类型 `String`)。The environment id. |
environment | EnvironmentDto | 环境(类型 `EnvironmentDto`)。The environment. |
overridesJson | String | overrides JSON(类型 `String`)。The overrides json. |
memoryStoreIds | List<String> | 记忆存储 Ids(类型 `List`)。The memory store ids. |
vaultIds | List<String> | vault Ids(类型 `List`)。The vault ids. |
io/agentscope/builder/web/managed/SessionAgentBuildSpec.java:36–44方法详情Method Detail
cacheSuffix
public String cacheSuffix()
返回 cacheSuffix 结果。
Builds a cache/gateway suffix from the stable identity fields.
Stringio/agentscope/builder/web/managed/SessionAgentBuildSpec.java:47–69