mirror of
https://github.com/hwchase17/langchain.git
synced 2025-12-03 17:17:21 +00:00
Check if event stream is closed in memory loop. Using try/except here to avoid race condition, but this may incur a small overhead in versions prios to 3.11