runtime error
Exit code: 1. Reason: .py", line 1072, in _examples_fn response = await run_sync(self.fn, *inputs, limiter=self.limiter) # type: ignore ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/anyio/to_thread.py", line 65, in run_sync return await get_async_backend().run_sync_in_worker_thread( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ func, args, abandon_on_cancel=abandon_on_cancel, limiter=limiter ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/usr/local/lib/python3.13/site-packages/anyio/_backends/_asyncio.py", line 2641, in run_sync_in_worker_thread return await future ^^^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/anyio/_backends/_asyncio.py", line 1033, in run result = context.run(func, *args) File "/app/app.py", line 143, in respond response = client.chat_completion( messages, max_tokens=1000, temperature=0.2, ) File "/usr/local/lib/python3.13/site-packages/huggingface_hub/inference/_client.py", line 930, in chat_completion data = self._inner_post(request_parameters, stream=stream) File "/usr/local/lib/python3.13/site-packages/huggingface_hub/inference/_client.py", line 283, in _inner_post hf_raise_for_status(response) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/huggingface_hub/utils/_http.py", line 877, in hf_raise_for_status raise _format(HfHubHTTPError, str(e), response) from e huggingface_hub.errors.HfHubHTTPError: Client error '402 Payment Required' for url 'https://router.huggingface.co/v1/chat/completions' (Request ID: Root=1-6a676fa6-119bdc107ab8a20f3895f233;f3e03d14-4a8b-4e96-810d-901ffc6a184e) For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/402 You have depleted your monthly included credits. Purchase pre-paid credits to continue using Inference Providers. Alternatively, subscribe to PRO to get 20x more included usage.
Container logs:
Fetching error logs...