TypeError: object dict can’t be used in ‘await’ expression
This is a common mistake when defining the graph. The internals ofgraphai
expect all nodes to be defined with async def
. When defining a node with def
we will see this error:
async def
. For example: