runtime error
Exit code: 1. Reason: 3.13/site-packages/anyio/_backends/_asyncio.py", line 2518, in run_sync_in_worker_thread return await future ^^^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/anyio/_backends/_asyncio.py", line 1002, in run result = context.run(func, *args) File "/app/app.py", line 21, in <lambda> fn= lambda message, history: str(agent.run(message)), ~~~~~~~~~^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/smolagents/agents.py", line 467, in run steps = list(self._run_stream(task=self.task, max_steps=max_steps, images=images)) File "/usr/local/lib/python3.13/site-packages/smolagents/agents.py", line 561, in _run_stream raise e File "/usr/local/lib/python3.13/site-packages/smolagents/agents.py", line 543, in _run_stream for output in self._step_stream(action_step): ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/smolagents/agents.py", line 1664, 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: Client error '401 Unauthorized' for url 'https://router.huggingface.co/v1/chat/completions' (Request ID: Root=1-69eb9027-701096965025ebd16581be8a;cb6eb223-43b9-4cd1-bcd3-7d4dcc7ec3d5) For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401 Invalid username or password. Traceback (most recent call last): File "/app/app.py", line 27, in <module> demo.launch() ~~~~~~~~~~~^^ File "/usr/local/lib/python3.13/site-packages/gradio/blocks.py", line 2786, in launch raise Exception( f"Couldn't start the app because '{resp.url}' failed (code {resp.status_code}). Check your network or proxy settings to ensure localhost is accessible." ) Exception: Couldn't start the app because 'http://localhost:7860/gradio_api/startup-events' failed (code 500). Check your network or proxy settings to ensure localhost is accessible.
Container logs:
Fetching error logs...