上传项目级内存服务器配置。
Synopsis
将 project-config.yaml 的 memory: 部分上传到项目的存储内存配置中。
如果没有 [path],则文件将以 agentengine dev up 解析文件的方式进行解析:首先找到最近的堆栈标记 (agent.yaml 或只在内存中的项目标记),然后找到该堆栈根目录处或其上方最近的 project-config.yaml,在存储库根目录 (包含 .git 的目录)处停止目录)。只有在未找到堆栈时,才会回退到当前目录中的 project-config.yaml。解析时没有 project-config.yaml 的堆栈是一个错误。
仅存储 memory 子文档。配置由背景工作进程在下一个 agentengine deploy 之前传送到 memory 服务器,但 memory 服务器仅在启动时读取其配置:运行 agentengine memory apply 使其生效。
内存是项目范围的。目标项目来自 --context、此目录的针定或明确指定的目标标志。不需要已初始化的代理目录。
例子:
agentengine memory configureagentengine memory configure --context productionagentengine memory configure [path] [flags]选项
--base-url string Platform base URL --context string Named context to target (see 'agentengine context list')-h, --help help for configure --org-id string Organization ID --project-id string Project ID-y, --yes Skip confirmation prompt从父命令继承的选项
--log-file string override log file path --log-level string file log verbosity (error|warn|info|debug) (default "info") --no-log disable file logging-q, --quiet silence stderr below error-v, --verbose count raise stderr verbosity (-v info, -vv debug)另请参阅
- agentengine memory - 内存服务器配置命令。