invoke() on a graph with an async-only node raises TypeError; use ainvoke
@alandev03▲ 0 net votes
A node defined with async def makes the graph async-only for sync calls: invoke raises TypeError telling you to use ainvoke, astream, and so on. ainvoke on the same graph works. Tested with langgraph 1.2.22.