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

Method initialize

src/server/tasks/os_interaction/task.py:38–41  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

36 self.container_id: Optional[str] = None
37
38 async def initialize(self):
39 res = await self.controller.start_session(self.image)
40 self.session_id = res[0]
41 self.container_id = res[1][self.image]
42
43 async def __aenter__(self):
44 await self.initialize()

Callers 2

__aenter__Method · 0.95
start_sampleMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected