From f977dc410a0b1f8a1db0cc3631c848ace0bb6c90 Mon Sep 17 00:00:00 2001 From: Stream Date: Wed, 20 Aug 2025 17:45:53 +0800 Subject: [PATCH] feat: add MemorySyncTimeoutError --- api/core/memory/errors.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 api/core/memory/errors.py 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)