chore: format code

This commit is contained in:
GitHub Action
2025-11-07 19:47:53 +00:00
parent d462e380f4
commit 5f7e1e099b
2 changed files with 9 additions and 3 deletions

View File

@@ -362,7 +362,9 @@ export namespace SessionPrompt {
})
if (result.shouldRetry) {
for (let retry = 1; retry < maxRetries; retry++) {
const lastRetryPart = result.parts.findLast((p): p is MessageV2.RetryPart => p.type === "retry")
const lastRetryPart = result.parts.findLast(
(p): p is MessageV2.RetryPart => p.type === "retry",
)
if (lastRetryPart) {
const delayMs = SessionRetry.getRetryDelayInMs(lastRetryPart.error, retry)