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

Method worker_thread

src/assigner.py:394–400  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

392 ] = None,
393 ):
394 def worker_thread():
395 nonlocal agent, task, index, finish_callback
396
397 result = self.tasks[task].run_sample(index, self.agents[agent])
398
399 if finish_callback:
400 finish_callback(agent, task, index, result)
401
402 with self.assignment_lock:
403 self.running_count += 1

Callers

nothing calls this directly

Calls 1

run_sampleMethod · 0.80

Tested by

no test coverage detected