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

Function _capture_for_record

uncommon_route/proxy.py:5170–5175  ·  view source on GitHub ↗
(content, chunks)

Source from the content-addressed store, hash-verified

5168 capture_body = source_body or body
5169
5170 def _capture_for_record(content, chunks):
5171 if content is not None:
5172 return _capture_non_streaming(capture_body, content, transport_for_capture)
5173 if chunks is not None:
5174 return _capture_streaming(capture_body, chunks, transport_for_capture)
5175 return {}
5176
5177 _traces.record(RequestTrace(
5178 timestamp=timestamp_value,

Callers 1

_record_route_traceFunction · 0.85

Calls 2

_capture_non_streamingFunction · 0.85
_capture_streamingFunction · 0.85

Tested by

no test coverage detected