runtime error
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/user/.local/lib/python3.11/site-packages/click/core.py", line 1434, in invoke return ctx.invoke(self.callback, **ctx.params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/user/.local/lib/python3.11/site-packages/click/core.py", line 783, in invoke return __callback(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/user/.local/lib/python3.11/site-packages/chainlit/cli/__init__.py", line 201, in chainlit_run run_chainlit(target) File "/home/user/.local/lib/python3.11/site-packages/chainlit/cli/__init__.py", line 66, in run_chainlit load_module(config.run.module_name) File "/home/user/.local/lib/python3.11/site-packages/chainlit/config.py", line 419, in load_module spec.loader.exec_module(module) File "<frozen importlib._bootstrap_external>", line 940, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/home/user/app/app.py", line 79, in <module> routerLayerMain = RouteLayer(encoder=encoder, routes=routesMain) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/user/.local/lib/python3.11/site-packages/semantic_router/layer.py", line 222, in __init__ self._add_routes(routes=self.routes) File "/home/user/.local/lib/python3.11/site-packages/semantic_router/layer.py", line 465, in _add_routes embedded_utterances = self.encoder(all_utterances) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/user/.local/lib/python3.11/site-packages/semantic_router/encoders/openai.py", line 135, in __call__ raise ValueError(f"No embeddings returned. Error: {error_message}") ValueError: No embeddings returned. Error: Error code: 401 - {'error': {'message': 'Incorrect API key provided: sk-proj-********************************************fSA0. You can find your API key at https://platform.openai.com/account/api-keys.', 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_api_key'}}
Container logs:
Fetching error logs...