mirror of
https://github.com/hwchase17/langchain.git
synced 2026-04-24 04:36:46 +00:00
x
This commit is contained in:
@@ -302,8 +302,6 @@ class AgentMiddleware(Generic[StateT, ContextT]):
|
||||
return response
|
||||
```
|
||||
"""
|
||||
response = yield request
|
||||
return response
|
||||
|
||||
def after_agent(self, state: StateT, runtime: Runtime[ContextT]) -> dict[str, Any] | None:
|
||||
"""Logic to run after the agent execution completes."""
|
||||
|
||||
Reference in New Issue
Block a user