Home / Function/ tool_run_logging_kwargs() — langchain Function Reference

tool_run_logging_kwargs() — langchain Function Reference

Architecture documentation for the tool_run_logging_kwargs() function in agent.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  c88bc836_f328_3f17_0fd2_8dcc7203a6ca["tool_run_logging_kwargs()"]
  37fcc3f3_2798_3648_915c_2bffdd19bff7["Agent"]
  c88bc836_f328_3f17_0fd2_8dcc7203a6ca -->|defined in| 37fcc3f3_2798_3648_915c_2bffdd19bff7
  8d6ec710_c308_189e_7dfc_86cb758394e4["tool_run_logging_kwargs()"]
  8d6ec710_c308_189e_7dfc_86cb758394e4 -->|calls| c88bc836_f328_3f17_0fd2_8dcc7203a6ca
  3ad3236e_1a51_9e04_5055_95c7d2147238["_iter_next_step()"]
  3ad3236e_1a51_9e04_5055_95c7d2147238 -->|calls| c88bc836_f328_3f17_0fd2_8dcc7203a6ca
  eda0641b_0f0e_a635_b675_0446cbdc0636["_perform_agent_action()"]
  eda0641b_0f0e_a635_b675_0446cbdc0636 -->|calls| c88bc836_f328_3f17_0fd2_8dcc7203a6ca
  c61b7dc2_6e22_7735_1fa0_744874e0c701["_aiter_next_step()"]
  c61b7dc2_6e22_7735_1fa0_744874e0c701 -->|calls| c88bc836_f328_3f17_0fd2_8dcc7203a6ca
  85fa3938_f549_0ce3_b3f9_68b32bbb3d27["_aperform_agent_action()"]
  85fa3938_f549_0ce3_b3f9_68b32bbb3d27 -->|calls| c88bc836_f328_3f17_0fd2_8dcc7203a6ca
  8d6ec710_c308_189e_7dfc_86cb758394e4["tool_run_logging_kwargs()"]
  c88bc836_f328_3f17_0fd2_8dcc7203a6ca -->|calls| 8d6ec710_c308_189e_7dfc_86cb758394e4
  style c88bc836_f328_3f17_0fd2_8dcc7203a6ca fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/langchain/langchain_classic/agents/agent.py lines 975–980

    def tool_run_logging_kwargs(self) -> builtins.dict:
        """Return logging kwargs for tool run."""
        return {
            "llm_prefix": self.llm_prefix,
            "observation_prefix": self.observation_prefix,
        }

Subdomains

Frequently Asked Questions

What does tool_run_logging_kwargs() do?
tool_run_logging_kwargs() is a function in the langchain codebase, defined in libs/langchain/langchain_classic/agents/agent.py.
Where is tool_run_logging_kwargs() defined?
tool_run_logging_kwargs() is defined in libs/langchain/langchain_classic/agents/agent.py at line 975.
What does tool_run_logging_kwargs() call?
tool_run_logging_kwargs() calls 1 function(s): tool_run_logging_kwargs.
What calls tool_run_logging_kwargs()?
tool_run_logging_kwargs() is called by 5 function(s): _aiter_next_step, _aperform_agent_action, _iter_next_step, _perform_agent_action, tool_run_logging_kwargs.

Analyze Your Own Codebase

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

Try Supermodel Free