mirror of
https://github.com/hanzoai/python-sdk.git
synced 2026-10-23 20:23:00 +00:00
- Add centralized error logging to ~/.hanzo/mcp/logs/ - Implement MCPErrorLogger with structured logging (JSON, daily, tool-specific logs) - Add parameter sanitization to redact sensitive data - Create @with_error_logging decorator for automatic error capture - Add response truncation (25k tokens) to shell tool outputs - Apply error logging to ReadTool as example - Add comprehensive test suite for error logging Fixes call signature errors and token limit issues. Co-authored-by: Hanzo Dev <[email protected]>