_on_run_update() — langchain Function Reference
Architecture documentation for the _on_run_update() function in root_listeners.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 4a7513c5_6cf9_561d_93c4_5c59b36c9b9e["_on_run_update()"] 89d8d69c_785e_e71a_498a_04879f19121c["RootListenersTracer"] 4a7513c5_6cf9_561d_93c4_5c59b36c9b9e -->|defined in| 89d8d69c_785e_e71a_498a_04879f19121c e4e585e7_0325_d2c6_deb7_0dd44cdf3df6["_on_run_update()"] e4e585e7_0325_d2c6_deb7_0dd44cdf3df6 -->|calls| 4a7513c5_6cf9_561d_93c4_5c59b36c9b9e e4e585e7_0325_d2c6_deb7_0dd44cdf3df6["_on_run_update()"] 4a7513c5_6cf9_561d_93c4_5c59b36c9b9e -->|calls| e4e585e7_0325_d2c6_deb7_0dd44cdf3df6 style 4a7513c5_6cf9_561d_93c4_5c59b36c9b9e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/core/langchain_core/tracers/root_listeners.py lines 67–75
def _on_run_update(self, run: Run) -> None:
if run.id != self.root_id:
return
if run.error is None:
if self._arg_on_end is not None:
call_func_with_variable_args(self._arg_on_end, run, self.config)
elif self._arg_on_error is not None:
call_func_with_variable_args(self._arg_on_error, run, self.config)
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does _on_run_update() do?
_on_run_update() is a function in the langchain codebase, defined in libs/core/langchain_core/tracers/root_listeners.py.
Where is _on_run_update() defined?
_on_run_update() is defined in libs/core/langchain_core/tracers/root_listeners.py at line 67.
What does _on_run_update() call?
_on_run_update() calls 1 function(s): _on_run_update.
What calls _on_run_update()?
_on_run_update() is called by 1 function(s): _on_run_update.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free