From bda2d679275ebd6bc2a3aa84f8fbc93967bead63 Mon Sep 17 00:00:00 2001 From: zukixa <56563509+zukixa@users.noreply.github.com> Date: Wed, 28 Aug 2024 23:03:32 -0700 Subject: fix for 500 Internal Server Error #2199 [Request] Blackbox provider now support Gemini and LLaMa 3.1 models #2198 with some stuff from #2196 --- g4f/Provider/FreeNetfly.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'g4f/Provider/FreeNetfly.py') diff --git a/g4f/Provider/FreeNetfly.py b/g4f/Provider/FreeNetfly.py index 624f33cf..d0543176 100644 --- a/g4f/Provider/FreeNetfly.py +++ b/g4f/Provider/FreeNetfly.py @@ -54,8 +54,8 @@ class FreeNetfly(AsyncGeneratorProvider, ProviderModelMixin): "top_p": 1 } - max_retries = 3 - retry_delay = 1 + max_retries = 5 + retry_delay = 2 for attempt in range(max_retries): try: -- cgit v1.2.3