runtime error
Exit code: 1. Reason: line 2116, in process_api result = await self.call_function( File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1621, in call_function prediction = await fn(*processed_input) File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 882, in async_wrapper response = await f(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/gradio/chat_interface.py", line 1094, in _examples_fn response = await anyio.to_thread.run_sync( File "/usr/local/lib/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 2485, in run_sync_in_worker_thread return await future File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 976, in run result = context.run(func, *args) File "/home/user/app/app.py", line 26, in <lambda> fn=lambda message, history: str(agent.run(message)), File "/usr/local/lib/python3.10/site-packages/smolagents/agents.py", line 496, in run steps = list(self._run_stream(task=self.task, max_steps=max_steps, images=images)) File "/usr/local/lib/python3.10/site-packages/smolagents/agents.py", line 593, in _run_stream raise e File "/usr/local/lib/python3.10/site-packages/smolagents/agents.py", line 575, in _run_stream for output in self._step_stream(action_step): File "/usr/local/lib/python3.10/site-packages/smolagents/agents.py", line 1675, in _step_stream raise AgentGenerationError(f"Error in generating model output:\n{e}", self.logger) from e smolagents.utils.AgentGenerationError: Error in generating model output: 402 Client Error: Payment Required for url: https://huggingface.co/proxy/router.huggingface.co/together/v1/chat/completions (Request ID: Root=1-68df99ec-70a7cda46bbf6f6e70867dfe;29217db5-72e5-471d-8cd9-70def9f6b0a9) You have exceeded your monthly included credits for Inference Providers. Subscribe to PRO to get 20x more monthly included credits.
Container logs:
Fetching error logs...