Home / Class/ NoopEight Class — langchain Architecture

NoopEight Class — langchain Architecture

Architecture documentation for the NoopEight class in test_framework.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  9d844ca8_6b05_6558_16c4_dd1a0665332a["NoopEight"]
  949c7cf4_56fe_f3b4_cd89_9631a7e9cb1e["AgentMiddleware"]
  9d844ca8_6b05_6558_16c4_dd1a0665332a -->|extends| 949c7cf4_56fe_f3b4_cd89_9631a7e9cb1e
  8310d669_2524_e019_e333_8473b50a4990["test_framework.py"]
  9d844ca8_6b05_6558_16c4_dd1a0665332a -->|defined in| 8310d669_2524_e019_e333_8473b50a4990
  442acfb3_0dfc_0199_eccb_eed25bdcb139["before_model()"]
  9d844ca8_6b05_6558_16c4_dd1a0665332a -->|method| 442acfb3_0dfc_0199_eccb_eed25bdcb139
  5d17b865_80a6_bc82_6199_af1d67d2d1c3["wrap_model_call()"]
  9d844ca8_6b05_6558_16c4_dd1a0665332a -->|method| 5d17b865_80a6_bc82_6199_af1d67d2d1c3
  3d8b8c0a_0ebf_2050_7b07_3a4d5062483d["after_model()"]
  9d844ca8_6b05_6558_16c4_dd1a0665332a -->|method| 3d8b8c0a_0ebf_2050_7b07_3a4d5062483d

Relationship Graph

Source Code

libs/langchain_v1/tests/unit_tests/agents/middleware/core/test_framework.py lines 60–73

    class NoopEight(AgentMiddleware):
        def before_model(self, state: AgentState[Any], runtime: Runtime) -> None:
            calls.append("NoopEight.before_model")

        def wrap_model_call(
            self,
            request: ModelRequest,
            handler: Callable[[ModelRequest], ModelResponse],
        ) -> ModelCallResult:
            calls.append("NoopEight.wrap_model_call")
            return handler(request)

        def after_model(self, state: AgentState[Any], runtime: Runtime) -> None:
            calls.append("NoopEight.after_model")

Extends

Frequently Asked Questions

What is the NoopEight class?
NoopEight is a class in the langchain codebase, defined in libs/langchain_v1/tests/unit_tests/agents/middleware/core/test_framework.py.
Where is NoopEight defined?
NoopEight is defined in libs/langchain_v1/tests/unit_tests/agents/middleware/core/test_framework.py at line 60.
What does NoopEight extend?
NoopEight extends AgentMiddleware.

Analyze Your Own Codebase

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

Try Supermodel Free