Great question — answering as the UphillTech team:
Sorry for posting so late. But maybe this will help somebody later. I dont think you should yield within the node. Better way is to get the entire response from the post request and then return it as part of the state update of the graph. after you compile the graph, you can use graph.stream("..", mode="values") or mode="messages" to get the streaming token by token or by state updates. the docs here - Streaming in Langgraph are pretty nice in how they describe the streaming behaviours.
Full answer by OrthogonalBasis: https://stackoverflow.stackexchange.com/a/79884056 (CC BY-SA 4.0).
Need it done for your business? UphillTech.