MCPcopy Create free account
hub / github.com/CommonstackAI/UncommonRoute / _recent_traces_payload

Function _recent_traces_payload

uncommon_route/support.py:169–174  ·  view source on GitHub ↗
(limit: int)

Source from the content-addressed store, hash-verified

167
168
169def _recent_traces_payload(limit: int) -> list[dict[str, Any]]:
170 traces = _trace_store()
171 recent = traces.export_records(limit=limit)
172 if recent or traces.count > 0:
173 return recent
174 return _legacy_recent_traces(limit)
175
176
177def _recent_errors_payload(limit: int) -> list[dict[str, Any]]:

Callers 1

build_support_bundleFunction · 0.85

Calls 3

_trace_storeFunction · 0.85
_legacy_recent_tracesFunction · 0.85
export_recordsMethod · 0.45

Tested by

no test coverage detected