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

Method __init__

AgentBench.old/src/agents/do_nothing_agent.py:18–20  ·  view source on GitHub ↗
(self, sleep=None, **kwargs)

Source from the content-addressed store, hash-verified

16 """This agent is a test agent, which does nothing. (return empty string for each action)"""
17
18 def __init__(self, sleep=None, **kwargs) -> None:
19 super().__init__(**kwargs)
20 self.sleep = sleep
21
22 def inference(self, history: List[dict]) -> str:
23 if self.sleep:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected