Home / Function/ on_agent_action_common() — langchain Function Reference

on_agent_action_common() — langchain Function Reference

Architecture documentation for the on_agent_action_common() function in callbacks.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  92733865_e303_6298_6620_e007b642021e["on_agent_action_common()"]
  bd0f558e_4f69_e5aa_d113_623bbeb51c3d["BaseFakeCallbackHandlerMixin"]
  92733865_e303_6298_6620_e007b642021e -->|defined in| bd0f558e_4f69_e5aa_d113_623bbeb51c3d
  ca71e818_f869_a64b_a148_c896b06697b3["on_agent_action()"]
  ca71e818_f869_a64b_a148_c896b06697b3 -->|calls| 92733865_e303_6298_6620_e007b642021e
  cde8632a_848f_a17d_8494_f2549d27389b["on_agent_action()"]
  cde8632a_848f_a17d_8494_f2549d27389b -->|calls| 92733865_e303_6298_6620_e007b642021e
  style 92733865_e303_6298_6620_e007b642021e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/core/tests/unit_tests/fake/callbacks.py lines 91–93

    def on_agent_action_common(self) -> None:
        self.agent_actions += 1
        self.starts += 1

Domain

Subdomains

Frequently Asked Questions

What does on_agent_action_common() do?
on_agent_action_common() is a function in the langchain codebase, defined in libs/core/tests/unit_tests/fake/callbacks.py.
Where is on_agent_action_common() defined?
on_agent_action_common() is defined in libs/core/tests/unit_tests/fake/callbacks.py at line 91.
What calls on_agent_action_common()?
on_agent_action_common() is called by 2 function(s): on_agent_action, on_agent_action.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free