Update toast message to include remaining requests for the next 4 hours

This commit is contained in:
zaidmukaddam 2024-09-18 20:58:40 +05:30
parent 00f9923ed7
commit 2f848de25b

View File

@ -219,7 +219,7 @@ const HomeContent = () => {
setRemainingRequests(remaining);
setResetTime(reset);
if (remaining !== null && remaining <= 3) {
toast.warning(`You have ${remaining} requests remaining today.`);
toast.warning(`You have ${remaining} requests remaining for the next 4 hours.`);
}
} catch (error) {
console.error("Error in O1 conversation:", error);