feat(langchain): add ToolCallRequest to middleware exports (#34894)

https://github.com/langchain-ai/docs/pull/2358
This commit is contained in:
Mason Daugherty
2026-01-26 11:54:14 -08:00
committed by GitHub
parent c930062f69
commit 3da89bd380

View File

@@ -28,6 +28,7 @@ from langchain.agents.middleware.types import (
AgentState,
ModelRequest,
ModelResponse,
ToolCallRequest,
after_agent,
after_model,
before_agent,
@@ -63,6 +64,7 @@ __all__ = [
"SummarizationMiddleware",
"TodoListMiddleware",
"ToolCallLimitMiddleware",
"ToolCallRequest",
"ToolRetryMiddleware",
"after_agent",
"after_model",