mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-07-03 14:09:24 +00:00
fix: swallow RuntimeError from unbound MemoryScope in reset
This commit is contained in:
@@ -27,7 +27,7 @@ def _reset_flow_memory(flow: Flow[Any]) -> None:
|
||||
mem.reset()
|
||||
elif hasattr(mem, "_memory") and mem._memory is not None:
|
||||
mem._memory.reset()
|
||||
except (FileNotFoundError, OSError):
|
||||
except (FileNotFoundError, OSError, RuntimeError):
|
||||
pass
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user