mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-24 07:31:44 +00:00
fix: use unknown instead of rate_limit as default cooldown reason (#42911)
Merged via squash.
Prepared head SHA: bebf6704d7
Co-authored-by: VibhorGautam <55019395+VibhorGautam@users.noreply.github.com>
Co-authored-by: altaywtf <9790196+altaywtf@users.noreply.github.com>
Reviewed-by: @altaywtf
This commit is contained in:
@@ -555,7 +555,7 @@ describe("runWithModelFallback", () => {
|
||||
usageStat: {
|
||||
cooldownUntil: Date.now() + 5 * 60_000,
|
||||
},
|
||||
expectedReason: "rate_limit",
|
||||
expectedReason: "unknown",
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user