runtime error
ib/python3.10/site-packages/anyio/to_thread.py", line 56, in run_sync return await get_async_backend().run_sync_in_worker_thread( File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2144, in run_sync_in_worker_thread return await future File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 851, in run result = context.run(func, *args) File "/home/user/app/app.py", line 14, in echo message = llm.invoke(message) File "/usr/local/lib/python3.10/site-packages/langchain_core/language_models/llms.py", line 276, in invoke self.generate_prompt( File "/usr/local/lib/python3.10/site-packages/langchain_core/language_models/llms.py", line 633, in generate_prompt return self.generate(prompt_strings, stop=stop, callbacks=callbacks, **kwargs) File "/usr/local/lib/python3.10/site-packages/langchain_core/language_models/llms.py", line 803, in generate output = self._generate_helper( File "/usr/local/lib/python3.10/site-packages/langchain_core/language_models/llms.py", line 670, in _generate_helper raise e File "/usr/local/lib/python3.10/site-packages/langchain_core/language_models/llms.py", line 657, in _generate_helper self._generate( File "/usr/local/lib/python3.10/site-packages/langchain_core/language_models/llms.py", line 1317, in _generate self._call(prompt, stop=stop, run_manager=run_manager, **kwargs) File "/usr/local/lib/python3.10/site-packages/langchain_community/llms/huggingface_hub.py", line 135, in _call response = self.client.post( File "/usr/local/lib/python3.10/site-packages/huggingface_hub/inference/_client.py", line 273, in post hf_raise_for_status(response) File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_errors.py", line 358, in hf_raise_for_status raise BadRequestError(message, response=response) from e huggingface_hub.utils._errors.BadRequestError: (Request ID: j8WX-dHF--DZ0CXefYGWM) Bad request: Authorization header is correct, but the token seems invalid
Container logs:
Fetching error logs...