他の設定には影響を与えずに、agent.yamlから宛先を除きます。
Synopsis
agent.yaml から 1 つ以上のエグレス送信先を除きます。
各引数はベアFQDNです。削除はホスト名によってキー設定されるため、FQDN:PORTおよびURLは拒否されます。サンドボックスの最後の宛先を除くと、そのサンドボックスはdeny_allに設定されます。リストにないホスト名はエラーです。宛先を除くせずにモードを変更するには、エージェントエンジン エージェント egress モードを使用します。
変更は次回の配置する時に適用されます。agentengine イグレスは、それまでライブ ワークスペースをまだ表示しています。
例:
agentengine agent egress remove api.openai.comagentengine agent egress remove --component tool api.stripe.comagentengine 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)その他の参照
- agentengine エージェント egress - agent.yaml のエグレス許可リストを編集します。