agent-zero
agent-zero copied to clipboard
**Refactor Agent Class and Enhance Workflow Integration**
This commit refactors the Agent class to improve its structure and readability. It enhances the integration with the AgentWorkflowMemory by adding methods for updating and retrieving relevant workflows. Additionally, it optimizes the message handling process and ensures better error management during tool execution. The changes aim to streamline the agent's functionality and improve overall performance in task execution.