explicit type for trace

This commit is contained in:
Dinesh Yeduguru 2024-11-27 09:24:23 -08:00
parent dfe152cb97
commit 2dfbb9744d
3 changed files with 23 additions and 18 deletions

View file

@ -54,9 +54,9 @@ class ConsoleTelemetryImpl(Telemetry):
async def get_trace(self, trace_id: str) -> Trace:
raise NotImplementedError()
async def get_traces_for_session(
self, session_id: str, lookback: str = "1h", limit: int = 100
) -> List[Trace]:
async def get_traces_for_agent_eval(
self, session_ids: List[str], lookback: str = "1h", limit: int = 100
) -> List[EvalTrace]:
raise NotImplementedError()