Cancelled error with langgraph runs #1600
Replies: 1 comment
-
i faced something similar, and cancelled all happens around 60s |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have an inconsistent issue as CancelledError().
I have a langgraph and the error seems to be within langgraph library.
I am also using asyncio in my code as:
and
The below is the error trace:
_CancelledError()Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/langgraph/pregel/init.py", line 1189, in astream
done, inflight = await asyncio.wait(
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/asyncio/tasks.py", line 418, in wait
return await _wait(fs, timeout, return_when, loop)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/asyncio/tasks.py", line 525, in wait
await waiter
asyncio.exceptions.CancelledError
During handling of the above exception, another exception occurred:
Traeback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/langgraph/pregel/init.py", line 1132, in astream
async with AsyncPregelLoop(
asyncio.exceptions.CancelledError
If anyone has encountered this error before or any idea on this would be helpful. Thanks
Beta Was this translation helpful? Give feedback.
All reactions