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
  8d6ec710_c308_189e_7dfc_86cb758394e4["tool_run_logging_kwargs()"]
  0d209def_9564_c52d_db1c_fc156804d62d["LLMSingleActionAgent"]
  8d6ec710_c308_189e_7dfc_86cb758394e4 -->|defined in| 0d209def_9564_c52d_db1c_fc156804d62d
  c88bc836_f328_3f17_0fd2_8dcc7203a6ca["tool_run_logging_kwargs()"]
  c88bc836_f328_3f17_0fd2_8dcc7203a6ca -->|calls| 8d6ec710_c308_189e_7dfc_86cb758394e4
  c88bc836_f328_3f17_0fd2_8dcc7203a6ca["tool_run_logging_kwargs()"]
  8d6ec710_c308_189e_7dfc_86cb758394e4 -->|calls| c88bc836_f328_3f17_0fd2_8dcc7203a6ca
  style 8d6ec710_c308_189e_7dfc_86cb758394e4 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/langchain/langchain_classic/agents/agent.py lines 691–696

    def tool_run_logging_kwargs(self) -> builtins.dict:
        """Return logging kwargs for tool run."""
        return {
            "llm_prefix": "",
            "observation_prefix": "" if len(self.stop) == 0 else self.stop[0],
        }

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 691.
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 1 function(s): tool_run_logging_kwargs.

Analyze Your Own Codebase

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

Try Supermodel Free