runtime error
Exit code: 1. Reason: ^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/gradio/chat_interface.py", line 1072, in _examples_fn response = await run_sync(self.fn, *inputs, limiter=self.limiter) # type: ignore ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/anyio/to_thread.py", line 63, in run_sync return await get_async_backend().run_sync_in_worker_thread( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/anyio/_backends/_asyncio.py", line 2518, in run_sync_in_worker_thread return await future ^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/anyio/_backends/_asyncio.py", line 1002, in run result = context.run(func, *args) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/app.py", line 26, in <lambda> fn=lambda message, history: str(agent.run(message)), ^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/smolagents/agents.py", line 498, in run steps = list(self._run_stream(task=self.task, max_steps=max_steps, images=images)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/smolagents/agents.py", line 595, in _run_stream raise e File "/usr/local/lib/python3.12/site-packages/smolagents/agents.py", line 577, in _run_stream for output in self._step_stream(action_step): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/smolagents/agents.py", line 1685, 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: https://router.huggingface.co/nscale/v1/chat/completions (Request ID: Root=1-6a802308-5de05ce023bb80d826de5fe1;a8b9d651-78ec-496b-9a28-3d5080d14273) Invalid username or password. ^^^^^^^
Container logs:
Fetching error logs...