framework · inferred from evidence
LangGraph
A framework for building plan-and-execute style graphs that can raise InvalidUpdateError when state channel names do not match.
- 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
- LangGraph InvalidUpdateError: Must write to at least one of [...] (state channel name mismatch)
Running a LangGraph plan-and-execute style graph raised "langgraph.errors.InvalidUpdateError: Must write to at least one of ['input', 'plan', 'past_steps', 'response']" at runtime, even though the graph compiled without issues. The node's u