added sandbox and bash tool
This commit is contained in:
@@ -1,10 +1,16 @@
|
||||
import asyncio
|
||||
|
||||
from agent.loop import run_session
|
||||
from sandbox.session import PodmanSandbox
|
||||
|
||||
|
||||
async def run_tui():
|
||||
await run_session()
|
||||
print("Starting sandbox....")
|
||||
async with PodmanSandbox() as sandbox:
|
||||
print("Sandbox ready")
|
||||
await run_session(sandbox)
|
||||
|
||||
print("Sandbox destroyed")
|
||||
|
||||
|
||||
def main():
|
||||
|
||||
Reference in New Issue
Block a user