mirror of
https://github.com/langgenius/dify.git
synced 2026-04-11 12:06:50 +08:00
feat: add MemorySyncTimeoutError
This commit is contained in:
parent
d535818505
commit
f977dc410a
6
api/core/memory/errors.py
Normal file
6
api/core/memory/errors.py
Normal file
@ -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)
|
||||
Loading…
Reference in New Issue
Block a user