|
@@ -80,6 +80,7 @@ public class GeminiGenerateContentAction implements Action {
|
|
|
log.error("geminiGenerateContentAction error param = {}", JSON.toJSONString(geminiParam), e);
|
|
|
throw new RuntimeException("geminiGenerateContentAction request error", e);
|
|
|
}
|
|
|
- }, RETRY_TIMES, "geminiGenerateContentAction", i -> (long) (Math.pow(5, i) * 1000));
|
|
|
+ }, RETRY_TIMES, "geminiGenerateContentAction", RetryUtil::retryInterval);
|
|
|
}
|
|
|
+
|
|
|
}
|