runtime error
ile "/home/user/.local/lib/python3.10/site-packages/langchain/chains/base.py", line 306, in __call__ self._call(inputs, run_manager=run_manager) File "/home/user/.local/lib/python3.10/site-packages/langchain/chains/llm.py", line 103, in _call response = self.generate([inputs], run_manager=run_manager) File "/home/user/.local/lib/python3.10/site-packages/langchain/chains/llm.py", line 115, in generate return self.llm.generate_prompt( File "/home/user/.local/lib/python3.10/site-packages/langchain_core/language_models/llms.py", line 506, in generate_prompt return self.generate(prompt_strings, stop=stop, callbacks=callbacks, **kwargs) File "/home/user/.local/lib/python3.10/site-packages/langchain_core/language_models/llms.py", line 656, in generate output = self._generate_helper( File "/home/user/.local/lib/python3.10/site-packages/langchain_core/language_models/llms.py", line 543, in _generate_helper raise e File "/home/user/.local/lib/python3.10/site-packages/langchain_core/language_models/llms.py", line 530, in _generate_helper self._generate( File "/home/user/.local/lib/python3.10/site-packages/langchain_core/language_models/llms.py", line 1058, in _generate else self._call(prompt, stop=stop, **kwargs) File "/home/user/app/utils.py", line 25, in _call response = client.completion( File "/home/user/.local/lib/python3.10/site-packages/anthropic/api.py", line 239, in completion return self._request_as_json( File "/home/user/.local/lib/python3.10/site-packages/anthropic/api.py", line 198, in _request_as_json result = self._request_raw(*args, **kwargs) File "/home/user/.local/lib/python3.10/site-packages/anthropic/api.py", line 128, in _request_raw _process_request_error( File "/home/user/.local/lib/python3.10/site-packages/anthropic/api.py", line 30, in _process_request_error raise ApiException( anthropic.api.ApiException: ('post request failed with status code: 401', {'error': {'type': 'authentication_error', 'message': 'Invalid API Key'}})
Container logs:
Fetching error logs...