runtime error
tting_wrapper return wrapped(*args, **kwargs) File "/home/user/.local/lib/python3.10/site-packages/langchain/chains/base.py", line 363, in __call__ return self.invoke( File "/home/user/.local/lib/python3.10/site-packages/langchain/chains/base.py", line 162, in invoke raise e File "/home/user/.local/lib/python3.10/site-packages/langchain/chains/base.py", line 156, in invoke 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 525, 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 698, in generate output = self._generate_helper( File "/home/user/.local/lib/python3.10/site-packages/langchain_core/language_models/llms.py", line 562, in _generate_helper raise e File "/home/user/.local/lib/python3.10/site-packages/langchain_core/language_models/llms.py", line 549, in _generate_helper self._generate( File "/home/user/.local/lib/python3.10/site-packages/langchain_core/language_models/llms.py", line 1134, in _generate self._call(prompt, stop=stop, run_manager=run_manager, **kwargs) File "/home/user/.local/lib/python3.10/site-packages/langchain_community/llms/huggingface_text_gen_inference.py", line 199, in _call res = self.client.generate(prompt, **invocation_params) File "/home/user/.local/lib/python3.10/site-packages/text_generation/client.py", line 153, in generate raise parse_error(resp.status_code, payload) text_generation.errors.ValidationError: Input validation error: `inputs` must have less than 4096 tokens. Given: 4391
Container logs:
Fetching error logs...