Soulter / hugging-chat-api

HuggingChat Python API🤗
GNU Affero General Public License v3.0
850 stars 122 forks source link

ChatError's after 5-10 requests #196

Closed foolosopherr closed 4 months ago

foolosopherr commented 6 months ago

I keep getting ChatError “You are sending too many messages. Try again later." immediately after 5-10 requests in 5 minutes. I know there is a daily limit of 500 requests, but are there additional limits (number of tokens per minute, number of requests per minute, etc.)? I don't get any errors using only the Chat-UI version, so maybe this is a bug.

image
Soulter commented 6 months ago

Hi, the threshold of huggingchat is currently at about 5 messages per minute, and 500 messages per day, maybe you invoke chat function too many times at the same time unintentionally

image
github-actions[bot] commented 4 months ago

This issue was marked as stale because of inactivity.

github-actions[bot] commented 4 months ago

This issue was closed because of inactivity.