The community member is experiencing an error despite setting streaming to True when creating the query engine. Another community member suggests that the error disappeared after setting streaming to True inside the graph.as_query_engine() function, as opposed to just putting it inside custom_query_engines. A third community member acknowledges that the composable graph is a bit "janky" and in the "tech-debt/deprecation zone".
The error disappeared after setting streaming to True inside the graph.as_query_engine() function. I had previously just put it inside custom_query_engines which I thought would have been sufficient as custom_query_engines is an argument in graph.as_query_engine().