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

Method query_spans

tests/algorithm/test_apo.py:82–88  ·  view source on GitHub ↗
(
        self,
        rollout_id: str,
        attempt_id: str | Literal["latest"] | None = None,
        **_: Any,
    )

Source from the content-addressed store, hash-verified

80 return []
81
82 async def query_spans(
83 self,
84 rollout_id: str,
85 attempt_id: str | Literal["latest"] | None = None,
86 **_: Any,
87 ) -> List[Span]:
88 return list(self.query_spans_map.get(rollout_id, []))
89
90
91def make_completion(content: str | None) -> Mock:

Calls 1

getMethod · 0.45

Tested by

no test coverage detected