- Enhance exception handling in agent_task() to capture and send structured error messages via SSE stream - Add [DONE] marker to outer exception handler to ensure proper stream termination - Improve MCP tool loading error handling in init_agent() to prevent cascading failures - Add detailed error logging with traceback for debugging Fixes RemoteProtocolError that occurred when MCP tool calls failed, which previously caused incomplete chunked read errors and connection drops. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| agent_config.py | ||
| agent_memory_cache.py | ||
| checkpoint_manager.py | ||
| checkpoint_utils.py | ||
| config_cache.py | ||
| deep_assistant.py | ||
| guideline_middleware.py | ||
| logging_handler.py | ||
| prompt_loader.py | ||
| tool_output_length_middleware.py | ||
| tool_use_cleanup_middleware.py | ||