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 _utils.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  6e6ad1b6_dc6c_3fee_e8e1_c0f8b625a462["on_agent_action_common()"]
  1f1fcf29_8ad8_638a_150e_be483deb6af3["BaseFakeCallbackHandlerMixin"]
  6e6ad1b6_dc6c_3fee_e8e1_c0f8b625a462 -->|defined in| 1f1fcf29_8ad8_638a_150e_be483deb6af3
  ef4fca8a_8d8d_1382_a4f6_28375ec5d9ef["on_agent_action()"]
  ef4fca8a_8d8d_1382_a4f6_28375ec5d9ef -->|calls| 6e6ad1b6_dc6c_3fee_e8e1_c0f8b625a462
  style 6e6ad1b6_dc6c_3fee_e8e1_c0f8b625a462 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/partners/anthropic/tests/unit_tests/_utils.py lines 86–88

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

Domain

Subdomains

Called By

Frequently Asked Questions

What does on_agent_action_common() do?
on_agent_action_common() is a function in the langchain codebase, defined in libs/partners/anthropic/tests/unit_tests/_utils.py.
Where is on_agent_action_common() defined?
on_agent_action_common() is defined in libs/partners/anthropic/tests/unit_tests/_utils.py at line 86.
What calls on_agent_action_common()?
on_agent_action_common() is called by 1 function(s): on_agent_action.

Analyze Your Own Codebase

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

Try Supermodel Free