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

Method __init__

AgentBench.old/src/agent.py:143–148  ·  view source on GitHub ↗
(self, **configs)

Source from the content-addressed store, hash-verified

141
142class Agent:
143 def __init__(self, **configs) -> None:
144 self.name = configs.pop("name", None)
145 self.src = configs.pop("src", None)
146 # for key in configs:
147 # print(f"Warning: Unknown argument '{key}' for the agent.")
148 pass
149
150 def create_session(self) -> Session:
151 return Session(self.inference)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected