对于 AI 代理:可在 https://www.mongodb.com/zh-cn/docs/llms.txt 获取文档索引—通过在任何 URL 路径后添加 .md 可获取所有页面的 Markdown 版本。

agentengine 内存应用

通过轮换内存服务器来应用项目的存储内存配置。

交付项目的待处理内存配置并滚动内存服务器 pod 以使其生效。

agentengine memory configure 存储配置,内存服务器仅在启动时读取它。此命令会交付挂起的配置,然后滚动 pod。当项目还没有运行时,它会先预配一个。

默认情况下,运行时会保持已固定到的图像。--upgrade 将其更新到此环境当前固定的镜像。--upgrade 会拒绝无法确认为向前的更新操作,而 --force 则会覆盖该拒绝。

当无法交付待处理配置时,不会重启任何内容,存储的配置将保持待处理状态。

--wait 会轮询直到运行时报告就绪,最长等待 5 分钟。

内存是项目范围的。目标项目来自 --context、此目录的针定或明确指定的目标标志。不需要已初始化的代理目录。

例子:

agentengine memory applyagentengine memory apply --upgrade --wait
agentengine memory apply [flags]
--base-url string Platform base URL --context string Named context to target (see 'agentengine context list') --dry-run Report what would change without provisioning or restarting --force Allow --upgrade to move the runtime to an older image-h, --help help for apply --org-id string Organization ID --project-id string Project ID --upgrade Also move the runtime to the image this environment currently pins --wait Wait until the memory runtime reports ready before returning
--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)
给本页内容打分