MCPcopy
hub / github.com/microsoft/agent-lightning / wait_for_rollouts

Method wait_for_rollouts

tests/algorithm/test_apo.py:76–80  ·  view source on GitHub ↗
(self, rollout_ids: Sequence[str], timeout: float)

Source from the content-addressed store, hash-verified

74 return result
75
76 async def wait_for_rollouts(self, rollout_ids: Sequence[str], timeout: float) -> List[Rollout]:
77 self.wait_calls.append({"rollout_ids": tuple(rollout_ids), "timeout": timeout})
78 if self.wait_results_queue:
79 return self.wait_results_queue.pop(0)
80 return []
81
82 async def query_spans(
83 self,

Callers 5

algorithm_batchMethod · 0.45
_timeout_error_in_runnerFunction · 0.45
sft_one_iterFunction · 0.45
apo_algorithmFunction · 0.45

Calls 1

popMethod · 0.45

Tested by

no test coverage detected