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

Method inference

AgentBench.old/src/agents/do_nothing_agent.py:22–25  ·  view source on GitHub ↗
(self, history: List[dict])

Source from the content-addressed store, hash-verified

20 self.sleep = sleep
21
22 def inference(self, history: List[dict]) -> str:
23 if self.sleep:
24 time.sleep(self.sleep)
25 return "AAAAA"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected