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

Method get_indices

src/client/task.py:26–32  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

24 print("TaskClient created: {} ({})".format(name, controller_address))
25
26 def get_indices(self) -> List[SampleIndex]:
27 result = requests.get(
28 self.controller_address + "/get_indices", params={"name": self.name}
29 )
30 if result.status_code != 200:
31 raise AgentBenchException(result.text, result.status_code, self.name)
32 return result.json()
33
34 def get_concurrency(self) -> int:
35 try:

Callers 1

__init__Method · 0.45

Calls 1

AgentBenchExceptionClass · 0.85

Tested by

no test coverage detected