Add two new middlewares to improve robustness of the agent pipeline: - DanglingToolCallMiddleware injects placeholder ToolMessages for interrupted tool calls, preventing LLM errors from malformed history - SubagentLimitMiddleware truncates excess parallel task tool calls at the model response level, replacing the runtime check in task_tool Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| clarification_middleware.py | ||
| dangling_tool_call_middleware.py | ||
| memory_middleware.py | ||
| subagent_limit_middleware.py | ||
| thread_data_middleware.py | ||
| title_middleware.py | ||
| uploads_middleware.py | ||
| view_image_middleware.py | ||