mirror of
https://github.com/hwchase17/langchain.git
synced 2026-04-09 22:12:50 +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