エージェント.yaml で egress_mode を設定します。
Synopsis
agent.yaml で network.egress_mode を設定します。
モードはdeny_all、allow_list、またはallow_allです。allow_allには--confirm-allow-allが必要ですが、そのサンドボックスにまだ宛先がリストされている間は拒否されます。先にそれらを除くか、allow_listを使用してください。--confirm-allow-allはallow_allでのみ有効です。
これはローカルファイルを編集するものであり、実行中のワークスペースは変更されません。新しいモードを適用するには、再デプロイしてください。
例:
agentengine agent egress mode allow_all --confirm-allow-allagentengine agent egress mode deny_allagentengine agent egress mode MODE [flags]オプション
--component string Target a single sandbox: agent or tool. Omit to apply to both. --confirm-allow-all Required acknowledgement when MODE is allow_all.-h, --help help for mode --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 のエグレス許可リストを編集します。