Langgraph studio "submit" button is not async supported

I have async func/nodes which are part of the grapn and in the py file I have to run the await graph.ainvoke() to invoke the graph, when I run the studio and click the submit button it throws a Blocing Error . I assume that it is invoking the graph via the invoke fn but I need to run it using ainvoke. What is the solution or workaround of this issue.

Thanks

No the graph is not invoked synchronously. It is invoked asynchronously.

The block by error is in your code. If you look at the error message, it should tell you which call is triggering it.