diff --git a/api/core/memory/errors.py b/api/core/memory/errors.py new file mode 100644 index 0000000000..ef681e4152 --- /dev/null +++ b/api/core/memory/errors.py @@ -0,0 +1,6 @@ +class MemorySyncTimeoutError(Exception): + def __init__(self, app_id: str, conversation_id: str): + self.app_id = app_id + self.conversation_id = conversation_id + self.message = "Memory synchronization timeout after 50 seconds" + super().__init__(self.message)