aboutsummaryrefslogtreecommitdiff
path: root/gn3/llms
diff options
context:
space:
mode:
authorAlexander_Kabui2024-09-02 16:43:12 +0300
committerAlexander_Kabui2024-09-02 16:43:12 +0300
commit38d867bdead1ebd1af0846d54474d9c962cd7ceb (patch)
tree858419243b45e767f59fde920c1330129b92a0bd /gn3/llms
parent3de74bf43245088ff4d07af4fd796eb510ff73bb (diff)
downloadgenenetwork3-38d867bdead1ebd1af0846d54474d9c962cd7ceb.tar.gz
Modify default backoff_factor for adapter.
Diffstat (limited to 'gn3/llms')
-rw-r--r--gn3/llms/client.py2
1 files changed, 1 insertions, 1 deletions
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})