MCPcopy Create free account
hub / github.com/THUDM/AgentBench / __init__

Method __init__

src/server/tasks/os_interaction/task.py:32–36  ·  view source on GitHub ↗
(self, controller: EnvironmentController, image: str)

Source from the content-addressed store, hash-verified

30
31class Container:
32 def __init__(self, controller: EnvironmentController, image: str):
33 self.image = image
34 self.controller = controller
35 self.session_id: Optional[str] = None
36 self.container_id: Optional[str] = None
37
38 async def initialize(self):
39 res = await self.controller.start_session(self.image)

Callers 1

__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected