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

Method __init__

src/client/task.py:19–24  ·  view source on GitHub ↗
(
        self, name: str, controller_address: str = "http://localhost:5000/api", *_, **__,
    )

Source from the content-addressed store, hash-verified

17
18class TaskClient:
19 def __init__(
20 self, name: str, controller_address: str = "http://localhost:5000/api", *_, **__,
21 ) -> None:
22 self.name = name
23 self.controller_address = controller_address
24 print("TaskClient created: {} ({})".format(name, controller_address))
25
26 def get_indices(self) -> List[SampleIndex]:
27 result = requests.get(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected