Lỗi này sửa sao bác, em đang ở bước cuối cùng phần usage và chạy .py thì bị lỗi này. (https://github.com/xtekky/gpt4free)
➜ gpt4free python3 test.py
g4f.provider.Ails supports: (model: str, messages: list[dict[str, str]], stream: bool, temperature: float)
Traceback (most recent call last):
File "/home/akie3301/gpt4free/test.py", line 15, in <module>
for message in response:
File "/home/akie3301/gpt4free/g4f/Provider/GetGpt.py", line 43, in create_completion
res.raise_for_status()
File "/usr/lib/python3.11/site-packages/requests/models.py", line 1021, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 429 Client Error: Too Many Requests for url: https://chat.getgpt.world/api/chat/stream