blun-king-cli 9.1.316 → 9.1.317
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/blun.mjs +1 -3
- package/package.json +1 -1
package/blun.mjs
CHANGED
|
@@ -30351,11 +30351,9 @@ async function chatWithRetry(input) {
|
|
|
30351
30351
|
}
|
|
30352
30352
|
function completionBudgetRetryForEmpty(error) {
|
|
30353
30353
|
if (error.emptyResponseKind !== "length") return;
|
|
30354
|
-
const exhaustedBudget = typeof error.completionTokens === "number" && typeof error.maxCompletionTokens === "number" && error.maxCompletionTokens > 0 && error.completionTokens >= error.maxCompletionTokens;
|
|
30355
|
-
const negligibleReasoning = error.reasoningLength < 64;
|
|
30356
30354
|
return {
|
|
30357
30355
|
minimumCompletionTokens: MIN_THINKING_COMPLETION_TOKENS,
|
|
30358
|
-
multiplier:
|
|
30356
|
+
multiplier: 2
|
|
30359
30357
|
};
|
|
30360
30358
|
}
|
|
30361
30359
|
function retryDelayForError(error, fallbackDelayMs) {
|