MCPcopy
hub / github.com/langchain-ai/langchain / _start_trace

Method _start_trace

libs/core/langchain_core/tracers/base.py:41–44  ·  view source on GitHub ↗

Start a trace for a run.

(self, run: Run)

Source from the content-addressed store, hash-verified

39 """Persist a run."""
40
41 def _start_trace(self, run: Run) -> None:
42 """Start a trace for a run."""
43 super()._start_trace(run)
44 self._on_run_create(run)
45
46 def _end_trace(self, run: Run) -> None:
47 """End a trace for a run."""

Callers 7

on_chat_model_startMethod · 0.95
on_llm_startMethod · 0.95
on_chain_startMethod · 0.95
on_tool_startMethod · 0.95
on_retriever_startMethod · 0.95
_start_traceMethod · 0.45
on_chat_model_startMethod · 0.45

Calls 1

_on_run_createMethod · 0.45

Tested by

no test coverage detected