mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-04-28 11:40:47 +00:00
Memory layers - in progress
This commit is contained in:
parent
1d54577237
commit
e4d0536495
43 changed files with 1469 additions and 695 deletions
|
|
@ -56,7 +56,7 @@ class DockerContainerManager:
|
|||
if existing_container:
|
||||
if existing_container.status != 'running':
|
||||
print(f"Starting existing container: {self.name} for safe code execution...")
|
||||
self.logger.log(type="info", content=f"Starting existing container: {self.name} for safe code execution...")
|
||||
self.logger.log(type="info", content=f"Starting existing container: {self.name} for safe code execution...", temp=True)
|
||||
|
||||
existing_container.start()
|
||||
self.container = existing_container
|
||||
|
|
@ -67,7 +67,7 @@ class DockerContainerManager:
|
|||
# print(f"Container with name '{self.name}' is already running with ID: {existing_container.id}")
|
||||
else:
|
||||
print(f"Initializing docker container {self.name} for safe code execution...")
|
||||
self.logger.log(type="info", content=f"Initializing docker container {self.name} for safe code execution...")
|
||||
self.logger.log(type="info", content=f"Initializing docker container {self.name} for safe code execution...", temp=True)
|
||||
|
||||
self.container = self.client.containers.run(
|
||||
self.image,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue