library · inferred from evidence
asyncio
A library used in the app for asynchronous task management (e.g., asyncio.gather with create_task).
- RuntimeError: asyncio.run() cannot be called from a running event loop in Jupyter
Running the Hume streaming example in a Jupyter notebook failed with `RuntimeError: asyncio.run() cannot be called from a running event loop` because Jupyter already runs its own event loop. Maintainer gregorybchris explained the fix: merge
- LangSmith Python SDK memory grows in long-running apps (RunTree kept in memory)
Long-running Python app using LangGraph/LangChain (asyncio.gather with create_task, one graph per task). Memory grows steadily over time, but only when LangSmith tracing is enabled. tracemalloc and objgraph show RunTree objects accumulating