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

agentengine 代理 egress 删除

从 agent.yaml 中删除目标,而不影响其他目标。

从 agent.yaml 中删除一个或多个出口目标。

每个参数都是一个裸 FQDN。删除操作以主机名为键,因此 FQDN:PORT 和 URL 会被拒绝。删除沙盒的最后一个目标会将该沙盒设置为 deny_all。未列出的主机名会导致错误。要在不删除目标的情况下更改模式,请使用 agentengine 代理 egress 模式。

该变更将在下一个部署时生效。agentengine 出口在此之前仍然显示实时工作区。

例子:

agentengine agent egress remove api.openai.comagentengine agent egress remove --component tool api.stripe.com
agentengine agent egress remove FQDN [FQDN...] [flags]
--component string Target a single sandbox: agent or tool. Omit to apply to both.-h, --help help for remove --workspace string Monorepo: select a specific workspace by name (from root agent.yaml)
--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)
给本页内容打分