Skip to content

Commit 0620421

Browse files
authored
Merge pull request #11 from CLRafaelR/fix/increase-retry-time
fix: increase retry attempts and waiting time
2 parents 857a0ba + 1a0c138 commit 0620421

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

paperbanana/providers/vlm/gemini.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def _get_client(self):
4949
def is_available(self) -> bool:
5050
return self._api_key is not None
5151

52-
@retry(stop=stop_after_attempt(3), wait=wait_exponential(min=1, max=10))
52+
@retry(stop=stop_after_attempt(8), wait=wait_exponential(min=2, max=120))
5353
async def generate(
5454
self,
5555
prompt: str,

0 commit comments

Comments
 (0)