This commit is contained in:
Eugene Yurtsev
2025-10-06 17:46:53 -04:00
parent 7d1703be76
commit cd81a2b92d

View File

@@ -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."""