Skip to content

Commit 0bc381a

Browse files
committed
don't output agent cfg extra operator envs
1 parent 498e80e commit 0bc381a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

backend/agent/interactem/agent/agent.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,10 @@ async def _cleanup_containers(self):
255255
self._suppress_monitor = False
256256

257257
async def run(self):
258-
logger.info(f"Starting agent with configuration: {cfg.model_dump()}")
258+
# exclude extra operator envs to prevent leaks
259+
logger.info(
260+
f"Starting agent with configuration: {cfg.model_dump(exclude='OPERATOR_EXTRA_ENV')}"
261+
)
259262
create_process = not PODMAN_SERVICE_URI
260263
await self._start_podman_service(create_process=create_process)
261264

0 commit comments

Comments
 (0)