runtime error
Exit code: 1. Reason: kages/gradio/helpers.py", line 486, in cache prediction = await Context.root_block.process_api( File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1847, in process_api result = await self.call_function( File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1431, in call_function prediction = await fn(*processed_input) File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 772, in async_wrapper response = await f(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/gradio/chat_interface.py", line 619, 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 2177, in run_sync_in_worker_thread return await future File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 859, in run result = context.run(func, *args) File "/home/user/app/app.py", line 18, in chat_with_mistral chat_response = client.chat(model=model, messages=messages) File "/usr/local/lib/python3.10/site-packages/mistralai/client.py", line 212, in chat for response in single_response: File "/usr/local/lib/python3.10/site-packages/mistralai/client.py", line 142, in _request yield self._check_response(response) File "/usr/local/lib/python3.10/site-packages/mistralai/client.py", line 75, in _check_response self._check_response_status_codes(response) File "/usr/local/lib/python3.10/site-packages/mistralai/client.py", line 60, in _check_response_status_codes raise MistralAPIException.from_response( mistralai.exceptions.MistralAPIException: Status: 402. Message: {"object":"error","message":"Customer monthly spending limit reached. Increase your limit to restore access.","type":"billing_customer_monthly_spending_limit_reached","param":null,"code":"2300","raw_status_code":402}
Container logs:
Fetching error logs...