From 38d867bdead1ebd1af0846d54474d9c962cd7ceb Mon Sep 17 00:00:00 2001 From: Alexander_Kabui Date: Mon, 2 Sep 2024 16:43:12 +0300 Subject: Modify default backoff_factor for adapter. --- gn3/llms/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gn3/llms') diff --git a/gn3/llms/client.py b/gn3/llms/client.py index 4858ceb..401355a 100644 --- a/gn3/llms/client.py +++ b/gn3/llms/client.py @@ -48,7 +48,7 @@ class GeneNetworkQAClient(Session): """ def __init__(self, api_key, timeout=30, - total_retries=5, backoff_factor=30): + total_retries=5, backoff_factor=2): super().__init__() self.headers.update( {"Authorization": "Bearer " + api_key}) -- cgit v1.2.3