runtime error
Exit code: 1. Reason: await future File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 967, in run result = context.run(func, *args) File "/home/user/app/app.py", line 36, in <lambda> fn=lambda message, history: str(agent.run(message)), File "/usr/local/lib/python3.10/site-packages/smolagents/agents.py", line 399, 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 478, in _run_stream raise e File "/usr/local/lib/python3.10/site-packages/smolagents/agents.py", line 473, in _run_stream for el in self._execute_step(action_step): File "/usr/local/lib/python3.10/site-packages/smolagents/agents.py", line 495, in _execute_step for el in self._step_stream(memory_step): File "/usr/local/lib/python3.10/site-packages/smolagents/agents.py", line 1518, 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: 401 Client Error: Unauthorized for url: /static-proxy?url=https%3A%2F%2Frouter.huggingface.co%2Fnscale%2Fv1%2Fchat%2Fcompletions (Request ID: Root=1-69847755-01001e3564105b6b5751495b;7439c245-c221-4606-ba4a-03b9dc1c94d8) Invalid username or password. INFO HTTP Request: GET _client.py:1025 http://localhost:7860/gradio_api/st artup-events "HTTP/1.1 500 Internal Server Error" Traceback (most recent call last): File "/home/user/app/app.py", line 43, in <module> demo.launch(mcp_server=True) File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 2795, in launch raise Exception( 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...