Update minimax-cn-coding-plan.js (#864)
* Update minimax-cn-coding-plan.js Signed-off-by: nzlov <wfhtqp@gmail.com> * Update minimax-cn-coding-plan.js Signed-off-by: nzlov <wfhtqp@gmail.com> --------- Signed-off-by: nzlov <wfhtqp@gmail.com>
This commit is contained in:
@@ -88,9 +88,8 @@ export const fetchQuota = async () => {
|
|||||||
const weeklyStartAt = toTimestamp(firstModel.weekly_start_time);
|
const weeklyStartAt = toTimestamp(firstModel.weekly_start_time);
|
||||||
const weeklyResetAt = toTimestamp(firstModel.weekly_end_time);
|
const weeklyResetAt = toTimestamp(firstModel.weekly_end_time);
|
||||||
|
|
||||||
// For minimaxi.com: usage_count represents USED credits
|
const intervalUsed = intervalTotal - intervalUsage;
|
||||||
const intervalUsed = intervalUsage;
|
const weeklyUsed = weeklyTotal - weeklyUsage;
|
||||||
const weeklyUsed = weeklyUsage;
|
|
||||||
|
|
||||||
const intervalUsedPercent =
|
const intervalUsedPercent =
|
||||||
intervalTotal > 0 && intervalUsed != null
|
intervalTotal > 0 && intervalUsed != null
|
||||||
|
|||||||
Reference in New Issue
Block a user