Merge 2f280f6f2b313c44b8423fafc6aeb6bed4fd794a into 598f1826d8b2bc969aace2c6459824737667218c
This commit is contained in:
commit
f3c3e5ce83
@ -67,8 +67,6 @@ const USED_KEYS = [
|
||||
"usedPrompt",
|
||||
"prompts_used",
|
||||
"promptsUsed",
|
||||
"current_interval_usage_count",
|
||||
"currentIntervalUsageCount",
|
||||
"consumed",
|
||||
] as const;
|
||||
|
||||
@ -132,6 +130,10 @@ const REMAINING_KEYS = [
|
||||
"promptLeft",
|
||||
"prompts_left",
|
||||
"promptsLeft",
|
||||
"current_interval_usage_count",
|
||||
"currentIntervalUsageCount",
|
||||
"current_interval_remaining_count",
|
||||
"currentIntervalRemainingCount",
|
||||
"left",
|
||||
] as const;
|
||||
|
||||
|
||||
@ -219,7 +219,7 @@ describe("provider usage loading", () => {
|
||||
},
|
||||
],
|
||||
},
|
||||
expected: { usedPercent: 25 },
|
||||
expected: { usedPercent: 75 },
|
||||
},
|
||||
{
|
||||
name: "keeps payload-level MiniMax plan metadata when the usage candidate is nested",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user