synth-ai 0.1.9__py3-none-any.whl → 0.2.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- synth_ai/zyk/lms/vendors/core/gemini_api.py +3 -1
- {synth_ai-0.1.9.dist-info → synth_ai-0.2.0.dist-info}/METADATA +2 -3
- {synth_ai-0.1.9.dist-info → synth_ai-0.2.0.dist-info}/RECORD +6 -6
- {synth_ai-0.1.9.dist-info → synth_ai-0.2.0.dist-info}/WHEEL +1 -1
- {synth_ai-0.1.9.dist-info/licenses → synth_ai-0.2.0.dist-info}/LICENSE +0 -0
- {synth_ai-0.1.9.dist-info → synth_ai-0.2.0.dist-info}/top_level.txt +0 -0
@@ -15,7 +15,7 @@ from synth_ai.zyk.lms.constants import (
|
|
15
15
|
GEMINI_REASONING_MODELS,
|
16
16
|
GEMINI_THINKING_BUDGETS,
|
17
17
|
)
|
18
|
-
from synth_ai.zyk.lms.vendors.retries import BACKOFF_TOLERANCE, backoff
|
18
|
+
from synth_ai.zyk.lms.vendors.retries import BACKOFF_TOLERANCE, MAX_BACKOFF, backoff
|
19
19
|
import logging
|
20
20
|
|
21
21
|
|
@@ -197,6 +197,7 @@ class GeminiAPI(VendorBase):
|
|
197
197
|
backoff.expo,
|
198
198
|
exceptions_to_retry,
|
199
199
|
max_tries=BACKOFF_TOLERANCE,
|
200
|
+
max_time=MAX_BACKOFF,
|
200
201
|
on_giveup=lambda e: print(e),
|
201
202
|
)
|
202
203
|
async def _hit_api_async(
|
@@ -245,6 +246,7 @@ class GeminiAPI(VendorBase):
|
|
245
246
|
backoff.expo,
|
246
247
|
exceptions_to_retry,
|
247
248
|
max_tries=BACKOFF_TOLERANCE,
|
249
|
+
max_time=MAX_BACKOFF,
|
248
250
|
on_giveup=lambda e: print(e),
|
249
251
|
)
|
250
252
|
def _hit_api_sync(
|
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.2
|
2
2
|
Name: synth-ai
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.2.0
|
4
4
|
Home-page: https://github.com/synth-laboratories/synth-ai
|
5
5
|
Author: Josh Purtell
|
6
6
|
Author-email: josh@usesynth.com
|
@@ -21,7 +21,6 @@ Dynamic: description
|
|
21
21
|
Dynamic: description-content-type
|
22
22
|
Dynamic: home-page
|
23
23
|
Dynamic: license
|
24
|
-
Dynamic: license-file
|
25
24
|
Dynamic: requires-dist
|
26
25
|
|
27
26
|
AI Infra used by the Synth AI Team
|
@@ -30,7 +30,7 @@ synth_ai/zyk/lms/vendors/openai_standard.py,sha256=VP7DK2hPY5Cxu2e-qQZNaqOHTxQNj
|
|
30
30
|
synth_ai/zyk/lms/vendors/retries.py,sha256=8R1UjTSwjO5O7eCf2TKCCNWYiwltb0YY_g3pilIYkNE,428
|
31
31
|
synth_ai/zyk/lms/vendors/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
32
32
|
synth_ai/zyk/lms/vendors/core/anthropic_api.py,sha256=AdlKHK4jiOxb3QxS7my7EfmGCuugPljvGNN3JBkiDfQ,13689
|
33
|
-
synth_ai/zyk/lms/vendors/core/gemini_api.py,sha256=
|
33
|
+
synth_ai/zyk/lms/vendors/core/gemini_api.py,sha256=rKuTT5qtEvxKWBssSv05tWFw2OEzI68DavZEJJxZsM8,11240
|
34
34
|
synth_ai/zyk/lms/vendors/core/mistral_api.py,sha256=eoEaxiMuKQEY0K4rGHA2_ZG6sBnzEm-8hBWO_JqW96M,12080
|
35
35
|
synth_ai/zyk/lms/vendors/core/openai_api.py,sha256=O5KbRpy0pDDofVjxgZdeU69ueUl6S1DAuKykcH3gThg,6784
|
36
36
|
synth_ai/zyk/lms/vendors/local/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -43,8 +43,8 @@ synth_ai/zyk/lms/vendors/supported/groq.py,sha256=Fbi7QvhdLx0F-VHO5PY-uIQlPR0bo3
|
|
43
43
|
synth_ai/zyk/lms/vendors/supported/ollama.py,sha256=K30VBFRTd7NYyPmyBVRZS2sm0UB651AHp9i3wd55W64,469
|
44
44
|
synth_ai/zyk/lms/vendors/supported/openrouter.py,sha256=QdpqZFVCap-0oPsKiJkWr7o-dGaX3IMPSGehS2jw1IM,2607
|
45
45
|
synth_ai/zyk/lms/vendors/supported/together.py,sha256=Ni_jBqqGPN0PkkY-Ew64s3gNKk51k3FCpLSwlNhKbf0,342
|
46
|
-
synth_ai-0.
|
47
|
-
synth_ai-0.
|
48
|
-
synth_ai-0.
|
49
|
-
synth_ai-0.
|
50
|
-
synth_ai-0.
|
46
|
+
synth_ai-0.2.0.dist-info/LICENSE,sha256=ynhjRQUfqA_RdGRATApfFA_fBAy9cno04sLtLUqxVFM,1069
|
47
|
+
synth_ai-0.2.0.dist-info/METADATA,sha256=lhX_6xn7Gs2pNurcrgVEaqHXJzIPm5A6iNrZxtEyGNs,1062
|
48
|
+
synth_ai-0.2.0.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
49
|
+
synth_ai-0.2.0.dist-info/top_level.txt,sha256=fBmtZyVHuKaGa29oHBaaUkrUIWTqSpoVMPiVdCDP3k8,9
|
50
|
+
synth_ai-0.2.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|