MCPcopy Create free account
hub / github.com/THUDM/AgentTuning / __del__

Method __del__

AgentBench.old/src/tasks/os_interaction/task.py:37–42  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

35 self.sock.recv(1000)
36
37 def __del__(self):
38 try:
39 # print("Releasing", self.container.name, self.container.id)
40 self.container.stop()
41 except:
42 pass
43
44 def execute(self, command: str):
45 class DummyOutput:

Callers 1

predict_singleMethod · 0.95

Calls 1

stopMethod · 0.45

Tested by

no test coverage detected