-
Notifications
You must be signed in to change notification settings - Fork 34
Description
File "/Users/shanechang/.cache/uv/archive-v0/Xwp6hNzHTTpmoLhTC2nG0/lib/python3.12/site-packages/langchain_core/callbacks/manager.py", line 1953, in on_chain_start
await ahandle_event(
File "/Users/shanechang/.cache/uv/archive-v0/Xwp6hNzHTTpmoLhTC2nG0/lib/python3.12/site-packages/langchain_core/callbacks/manager.py", line 425, in ahandle_event
for handler in [h for h in handlers if h.run_inline]:
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'run_inline'
2025-10-19T10:42:57.115755Z [error ] Background run failed. Exception: <class 'AttributeError'>('NoneType' object has no attribute 'run_inline') [langgraph_api.worker] api_variant=local_dev assistant_id=3dba61cc-373b-5094-96d6-8331cb40a952 graph_id=supervisor langgraph_api_version=0.4.43 request_id=c9222061-74eb-4e51-a3a8-15f4cbc80a97 run_attempt=1 run_completed_in_ms=660 run_created_at=2025-10-19T10:42:56.457626+00:00 run_ended_at=2025-10-19T10:42:57.115637+00:00 run_exec_ms=9 run_id=0199fc10-b148-762f-8e17-5c37a340c4b3 run_started_at=2025-10-19T10:42:57.105986+00:00 thread_id=28e74d3f-2b98-417d-af3a-69f78c933a7c thread_name=asyncio_2
2025-10-19T10:43:13.674101Z [info ] Created run [langgraph_api.models.run] after_seconds=0 api_variant=local_dev assistant_id=3dba61cc-373b-5094-96d6-8331cb40a952 checkpoint_id=None if_not_exists=reject langgraph_api_version=0.4.43 method=POST multitask_strategy=rollback path=/threads/{thread_id}/runs/stream request_id=9f7971d8-96d4-4ba4-bacb-132745b12a99 run_create_ms=3 run_id=0199fc10-f489-7449-b74f-5ee7d5596fce run_put_ms=0 stream_mode=['debug', 'messages'] stream_resumable=False temporary=False thread_id=28e74d3f-2b98-417d-af3a-69f78c933a7c thread_name=MainThread
2025-10-19T10:43:14.652149Z [info ] Starting background run [langgraph_api.worker] api_variant=local_dev assistant_id=3dba61cc-373b-5094-96d6-8331cb40a952 graph_id=supervisor langgraph_api_version=0.4.43 request_id=9f7971d8-96d4-4ba4-bacb-132745b12a99 resumable=False run_attempt=1 run_creation_ms=3 run_id=0199fc10-f489-7449-b74f-5ee7d5596fce run_queue_ms=977 run_started_at=2025-10-19T10:43:14.651852+00:00 run_stream_start_ms=0 temporary=False thread_id=28e74d3f-2b98-417d-af3a-69f78c933a7c thread_name=asyncio_2
2025-10-19T10:43:14.654293Z [error ] Run encountered an error in graph: <class 'AttributeError'>('NoneType' object has no attribute 'run_inline') [langgraph_api.worker] api_variant=local_dev assistant_id=3dba61cc-373b-5094-96d6-8331cb40a952 graph_id=supervisor langgraph_api_version=0.4.43 request_id=9f7971d8-96d4-4ba4-bacb-132745b12a99 run_attempt=1 run_id=0199fc10-f489-7449-b74f-5ee7d5596fce thread_id=28e74d3f-2b98-417d-af3a-69f78c933a7c thread_name=MainThread
Traceback (most recent call last):
File "/Users/shanechang/.cache/uv/archive-v0/Xwp6hNzHTTpmoLhTC2nG0/lib/python3.12/site-packages/langgraph_api/worker.py", line 142, in wrap_user_errors
await consume(
File "/Users/shanechang/.cache/uv/archive-v0/Xwp6hNzHTTpmoLhTC2nG0/lib/python3.12/site-packages/langgraph_api/stream.py", line 501, in consume
raise e
File "/Users/shanechang/.cache/uv/archive-v0/Xwp6hNzHTTpmoLhTC2nG0/lib/python3.12/site-packages/langgraph_api/stream.py", line 484, in consume
async for mode, payload in stream:
File "/Users/shanechang/.cache/uv/archive-v0/Xwp6hNzHTTpmoLhTC2nG0/lib/python3.12/site-packages/langgraph_api/stream.py", line 369, in astream_state
event = await wait_if_not_done(anext(stream, sentinel), done)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/shanechang/.cache/uv/archive-v0/Xwp6hNzHTTpmoLhTC2nG0/lib/python3.12/site-packages/langgraph_api/asyncio.py", line 89, in wait_if_not_done
raise e.exceptions[0] from None
File "/Users/shanechang/.cache/uv/archive-v0/Xwp6hNzHTTpmoLhTC2nG0/lib/python3.12/site-packages/langgraph/pregel/main.py", line 2806, in astream
run_manager = await callback_manager.on_chain_start(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/shanechang/.cache/uv/archive-v0/Xwp6hNzHTTpmoLhTC2nG0/lib/python3.12/site-packages/langchain_core/callbacks/manager.py", line 1953, in on_chain_start
await ahandle_event(
File "/Users/shanechang/.cache/uv/archive-v0/Xwp6hNzHTTpmoLhTC2nG0/lib/python3.12/site-packages/langchain_core/callbacks/manager.py", line 425, in ahandle_event
for handler in [h for h in handlers if h.run_inline]:
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'run_inline'
