Format retry rule refactor files

This commit is contained in:
ejclaw
2026-04-06 20:38:38 +09:00
parent 83c45c3ce3
commit 7612b2c4cc
3 changed files with 13 additions and 13 deletions

View File

@@ -344,10 +344,7 @@ export async function runCodexRotationLoop(
let trigger = initialTrigger;
let lastRotationMessage = rotationMessage;
while (
getCodexAccountCount() > 1 &&
rotateCodexToken(lastRotationMessage)
) {
while (getCodexAccountCount() > 1 && rotateCodexToken(lastRotationMessage)) {
logger.info(
{ ...logContext, reason: trigger.reason },
'Codex account unhealthy, retrying with rotated account',