WrenAI
WrenAI copied to clipboard
wren-ai-service error
Error message:
ERROR: Traceback (most recent call last):
File "/app/.venv/lib/python3.12/site-packages/starlette/routing.py", line 692, in lifespan
async with self.lifespan_context(app) as maybe_state:
File "/usr/local/lib/python3.12/contextlib.py", line 204, in __aenter__
return await anext(self.gen)
^^^^^^^^^^^^^^^^^^^^^
File "/app/.venv/lib/python3.12/site-packages/fastapi/routing.py", line 133, in merged_lifespan
async with original_context(app) as maybe_original_state:
File "/usr/local/lib/python3.12/contextlib.py", line 204, in __aenter__
return await anext(self.gen)
^^^^^^^^^^^^^^^^^^^^^
File "/src/__main__.py", line 32, in lifespan
app.state.service_container = create_service_container(pipe_components, settings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/src/globals.py", line 259, in create_service_container
**pipe_components["sql_tables_extraction"],
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'sql_tables_extraction'
Image: ghcr.io/canner/wren-ai-service:latest
Deployed on EKS
@amzar96 please check this for ref
https://github.com/Canner/WrenAI/blob/main/docker/config.example.yaml
Whenever there is new ai pipeline, corresponding pipeline definition should be included in config.yaml, and you can check them in the file I gave above