replicas-cli 0.3.214 → 0.3.215
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +3 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -474,11 +474,12 @@ var init_agent_availability = __esm({
|
|
|
474
474
|
function isAgentFallbackReason(value) {
|
|
475
475
|
return AGENT_FALLBACK_REASONS.some((reason) => reason === value);
|
|
476
476
|
}
|
|
477
|
-
var AGENT_FALLBACK_REASONS;
|
|
477
|
+
var AGENT_FALLBACK_REASONS, EXHAUSTED_COOLDOWN_MS;
|
|
478
478
|
var init_agent_quota = __esm({
|
|
479
479
|
"../shared/src/agent-quota.ts"() {
|
|
480
480
|
"use strict";
|
|
481
|
-
AGENT_FALLBACK_REASONS = ["rate_limit", "out_of_credits", "credits_required", "auth_failed"];
|
|
481
|
+
AGENT_FALLBACK_REASONS = ["rate_limit", "out_of_credits", "credits_required", "auth_failed", "model_unavailable"];
|
|
482
|
+
EXHAUSTED_COOLDOWN_MS = 60 * 60 * 1e3;
|
|
482
483
|
}
|
|
483
484
|
});
|
|
484
485
|
|