23 lines
404 B
Python
23 lines
404 B
Python
import asyncio
|
|
|
|
from agent.loop import run_session
|
|
from sandbox.session import PodmanSandbox
|
|
|
|
|
|
async def run_tui():
|
|
print("Starting sandbox....")
|
|
async with PodmanSandbox() as sandbox:
|
|
print("Sandbox ready")
|
|
await run_session(sandbox)
|
|
|
|
print("Sandbox destroyed")
|
|
|
|
|
|
def main():
|
|
print("Hello from mycode!")
|
|
asyncio.run(run_tui())
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|