mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-04-28 11:40:47 +00:00
continued log+rendering refactor
This commit is contained in:
parent
08e6d06241
commit
c4846e7e9d
15 changed files with 217 additions and 294 deletions
|
|
@ -73,7 +73,7 @@ class DockerContainerManager:
|
|||
if existing_container:
|
||||
if existing_container.status != 'running':
|
||||
PrintStyle.standard(f"Starting existing container: {self.name} for safe code execution...")
|
||||
if self.logger: self.logger.log(type="info", content=f"Starting existing container: {self.name} for safe code execution...", temp=True)
|
||||
if self.logger: self.logger.log(type="info", content=f"Starting existing container: {self.name} for safe code execution...")
|
||||
|
||||
existing_container.start()
|
||||
self.container = existing_container
|
||||
|
|
@ -84,7 +84,7 @@ class DockerContainerManager:
|
|||
# PrintStyle.standard(f"Container with name '{self.name}' is already running with ID: {existing_container.id}")
|
||||
else:
|
||||
PrintStyle.standard(f"Initializing docker container {self.name} for safe code execution...")
|
||||
if self.logger: self.logger.log(type="info", content=f"Initializing docker container {self.name} for safe code execution...", temp=True)
|
||||
if self.logger: self.logger.log(type="info", content=f"Initializing docker container {self.name} for safe code execution...")
|
||||
|
||||
self.container = self.client.containers.run(
|
||||
self.image,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue