Closed debuggerone closed 2 months ago
So developers are very bad about handling exceptions in JavaScript and services like OpenAI will throw some errors and return others. I elected to just return all errors which is why I have a standard AgentResponse
class that has { completed, value, error }
fields. I don't have an overly strong opinion about throwing versus returning errors other then you should just be consistent...
I'll make that configurable in install process
Errors are now simply output but also logged
Subtask Overview
This subtask focuses on implementing a robust error handling mechanism in Python for the AgentM migration. The error handler should log errors to
.var/log/error
and manage access controls effectively.Tasks
.var/log/error
.Acceptance Criteria
.var/log/error
.