I am building a LangGraph pipeline. Nodes 1 and 2 stream fine via astream_events. Node 3 calls an external API then an llm and the stream just hangs forever. No errors and no timeouts. Sync invoke() works fine. I tried wrapping the httpx call in fetch_data_node with asyncio.to_thread but it still hangs. Is LangGraph's state update blocking the event loop during streaming ? How do I debug where the problem is ? async def run_pipeline(user_input:...
Originally asked by Muhammad Abdullah on Stack Exchange (stackoverflow) (CC BY-SA 4.0).