-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Description
I am lunching wren ai using docker with the folowing version :
version
WREN_PRODUCT_VERSION=0.28.0
WREN_ENGINE_VERSION=0.20.2
WREN_AI_SERVICE_VERSION=0.27.14
IBIS_SERVER_VERSION=0.20.2
WREN_UI_VERSION=0.31.2
WREN_BOOTSTRAP_VERSION=0.1.5
The logs of wren_ai_service :
W1106 08:02:59.311 14 wren-ai-service:155] SQL pairs file not found: sql_pairs.json
2025-11-06T08:02:59.898463256Z ERROR: Traceback (most recent call last):
2025-11-06T08:02:59.898480893Z File "/app/.venv/lib/python3.12/site-packages/starlette/routing.py", line 692, in lifespan
2025-11-06T08:02:59.898485648Z async with self.lifespan_context(app) as maybe_state:
2025-11-06T08:02:59.898488709Z File "/usr/local/lib/python3.12/contextlib.py", line 204, in aenter
2025-11-06T08:02:59.898491636Z return await anext(self.gen)
2025-11-06T08:02:59.898494318Z ^^^^^^^^^^^^^^^^^^^^^
2025-11-06T08:02:59.898496858Z File "/app/.venv/lib/python3.12/site-packages/fastapi/routing.py", line 133, in merged_lifespan
2025-11-06T08:02:59.898499634Z async with original_context(app) as maybe_original_state:
2025-11-06T08:02:59.898520171Z File "/usr/local/lib/python3.12/contextlib.py", line 204, in aenter
2025-11-06T08:02:59.898522882Z return await anext(self.gen)
2025-11-06T08:02:59.898525442Z ^^^^^^^^^^^^^^^^^^^^^
2025-11-06T08:02:59.898527483Z File "/src/main.py", line 32, in lifespan
2025-11-06T08:02:59.898530364Z app.state.service_container = create_service_container(pipe_components, settings)
2025-11-06T08:02:59.898533026Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-11-06T08:02:59.898535338Z File "/src/globals.py", line 83, in create_service_container
2025-11-06T08:02:59.898538276Z **pipe_components["sql_diagnosis"],
2025-11-06T08:02:59.898540825Z ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
2025-11-06T08:02:59.898543385Z KeyError: 'sql_diagnosis'
2025-11-06T08:02:59.898546033Z
2025-11-06T08:02:59.898884665Z ERROR: Application startup failed. Exiting.