aient 1.1.74__py3-none-any.whl → 1.1.75__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.
- aient/core/response.py +2 -2
- {aient-1.1.74.dist-info → aient-1.1.75.dist-info}/METADATA +1 -1
- {aient-1.1.74.dist-info → aient-1.1.75.dist-info}/RECORD +6 -6
- {aient-1.1.74.dist-info → aient-1.1.75.dist-info}/WHEEL +0 -0
- {aient-1.1.74.dist-info → aient-1.1.75.dist-info}/licenses/LICENSE +0 -0
- {aient-1.1.74.dist-info → aient-1.1.75.dist-info}/top_level.txt +0 -0
aient/core/response.py
CHANGED
@@ -514,7 +514,7 @@ async def fetch_aws_response_stream(client, url, headers, payload, model, timeou
|
|
514
514
|
|
515
515
|
yield "data: [DONE]" + end_of_line
|
516
516
|
|
517
|
-
async def fetch_response(client, url, headers, payload, engine, model, timeout):
|
517
|
+
async def fetch_response(client, url, headers, payload, engine, model, timeout=200):
|
518
518
|
response = None
|
519
519
|
if payload.get("file"):
|
520
520
|
file = payload.pop("file")
|
@@ -625,7 +625,7 @@ async def fetch_response(client, url, headers, payload, engine, model, timeout):
|
|
625
625
|
response_json = response.json()
|
626
626
|
yield response_json
|
627
627
|
|
628
|
-
async def fetch_response_stream(client, url, headers, payload, engine, model, timeout):
|
628
|
+
async def fetch_response_stream(client, url, headers, payload, engine, model, timeout=200):
|
629
629
|
if engine == "gemini" or engine == "vertex-gemini":
|
630
630
|
async for chunk in fetch_gemini_response_stream(client, url, headers, payload, model, timeout):
|
631
631
|
yield chunk
|
@@ -3,7 +3,7 @@ aient/core/__init__.py,sha256=NxjebTlku35S4Dzr16rdSqSTWUvvwEeACe8KvHJnjPg,34
|
|
3
3
|
aient/core/log_config.py,sha256=kz2_yJv1p-o3lUQOwA3qh-LSc3wMHv13iCQclw44W9c,274
|
4
4
|
aient/core/models.py,sha256=KMlCRLjtq1wQHZTJGqnbWhPS2cHq6eLdnk7peKDrzR8,7490
|
5
5
|
aient/core/request.py,sha256=vfwi3ZGYp2hQzSJ6mPXJVgcV_uu5AJ_NAL84mLfF8WA,76674
|
6
|
-
aient/core/response.py,sha256=
|
6
|
+
aient/core/response.py,sha256=uCQEZY_68neqNbbdr-tL4yy7thqBuSNvV1z4Ezww8o8,33538
|
7
7
|
aient/core/utils.py,sha256=D98d5Cy1h4ejKtuxS0EEDtL4YqpaZLB5tuXoVP0IBWQ,28462
|
8
8
|
aient/core/test/test_base_api.py,sha256=pWnycRJbuPSXKKU9AQjWrMAX1wiLC_014Qc9hh5C2Pw,524
|
9
9
|
aient/core/test/test_geminimask.py,sha256=HFX8jDbNg_FjjgPNxfYaR-0-roUrOO-ND-FVsuxSoiw,13254
|
@@ -30,8 +30,8 @@ aient/plugins/write_file.py,sha256=Jt8fOEwqhYiSWpCbwfAr1xoi_BmFnx3076GMhuL06uI,3
|
|
30
30
|
aient/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
31
31
|
aient/utils/prompt.py,sha256=UcSzKkFE4-h_1b6NofI6xgk3GoleqALRKY8VBaXLjmI,11311
|
32
32
|
aient/utils/scripts.py,sha256=VqtK4RFEx7KxkmcqG3lFDS1DxoNlFFGErEjopVcc8IE,40974
|
33
|
-
aient-1.1.
|
34
|
-
aient-1.1.
|
35
|
-
aient-1.1.
|
36
|
-
aient-1.1.
|
37
|
-
aient-1.1.
|
33
|
+
aient-1.1.75.dist-info/licenses/LICENSE,sha256=XNdbcWldt0yaNXXWB_Bakoqnxb3OVhUft4MgMA_71ds,1051
|
34
|
+
aient-1.1.75.dist-info/METADATA,sha256=nv_h5lJXeM4gcyJ7WRSynJ_giD1ZZXWIC1CwtTn05Ig,4842
|
35
|
+
aient-1.1.75.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
36
|
+
aient-1.1.75.dist-info/top_level.txt,sha256=3oXzrP5sAVvyyqabpeq8A2_vfMtY554r4bVE-OHBrZk,6
|
37
|
+
aient-1.1.75.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|