aient 1.1.1__py3-none-any.whl → 1.1.3__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/request.py CHANGED
@@ -459,10 +459,7 @@ async def get_vertex_gemini_payload(request, engine, provider, api_key=None):
459
459
  payload["generationConfig"]["max_output_tokens"] = 8192
460
460
 
461
461
  if request.model.endswith("-search"):
462
- if "tools" not in payload:
463
- payload["tools"] = [search_tool]
464
- else:
465
- payload["tools"].append(search_tool)
462
+ payload["tools"] = [search_tool]
466
463
 
467
464
  return url, headers, payload
468
465
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aient
3
- Version: 1.1.1
3
+ Version: 1.1.3
4
4
  Summary: Aient: The Awakening of Agent.
5
5
  Description-Content-Type: text/markdown
6
6
  License-File: LICENSE
@@ -9,6 +9,7 @@ Requires-Dist: httpx
9
9
  Requires-Dist: pillow
10
10
  Requires-Dist: msgspec
11
11
  Requires-Dist: fastapi
12
+ Requires-Dist: chardet
12
13
  Requires-Dist: requests
13
14
  Requires-Dist: html2text
14
15
  Requires-Dist: httpx-socks
@@ -4,7 +4,7 @@ aient/core/.gitignore,sha256=5JRRlYYsqt_yt6iFvvzhbqh2FTUQMqwo6WwIuFzlGR8,13
4
4
  aient/core/__init__.py,sha256=NxjebTlku35S4Dzr16rdSqSTWUvvwEeACe8KvHJnjPg,34
5
5
  aient/core/log_config.py,sha256=kz2_yJv1p-o3lUQOwA3qh-LSc3wMHv13iCQclw44W9c,274
6
6
  aient/core/models.py,sha256=_1wYZg_n9kb2A3C8xCboyqleH2iHc9scwOvtx9DPeok,7582
7
- aient/core/request.py,sha256=eGoGL8muYGvPbamUjcnyI8qH28uZBSG4Sc6Eko5LeJw,61653
7
+ aient/core/request.py,sha256=8ghtI3gU7QMiw1voINWZ-PMsHu4IYjV6ncO6a9Qe9sI,61551
8
8
  aient/core/response.py,sha256=rJnt4tOyJXF2pT9_4VdU7aG3Ac-k2MiCAp9nANVyFqI,31505
9
9
  aient/core/utils.py,sha256=CAFqWzICaKVysH9GLHBcp-VeOShisLjWGhEsh6-beWo,26365
10
10
  aient/core/test/test_base_api.py,sha256=pWnycRJbuPSXKKU9AQjWrMAX1wiLC_014Qc9hh5C2Pw,524
@@ -37,8 +37,8 @@ aient/prompt/agent.py,sha256=6f5ZB66Rb8y0iQScHMRhvXZ1qMM3YsKpCBPCTAAw2rg,24917
37
37
  aient/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
38
38
  aient/utils/prompt.py,sha256=UcSzKkFE4-h_1b6NofI6xgk3GoleqALRKY8VBaXLjmI,11311
39
39
  aient/utils/scripts.py,sha256=NXmTxcZqHoRv3S13isLsv7kvqktXnA5ej7uMsxCJUe0,26656
40
- aient-1.1.1.dist-info/licenses/LICENSE,sha256=XNdbcWldt0yaNXXWB_Bakoqnxb3OVhUft4MgMA_71ds,1051
41
- aient-1.1.1.dist-info/METADATA,sha256=uZ1a7BetU0rnBIkiYzz9mZO8wmAM4Vp2TlF_wmID784,4944
42
- aient-1.1.1.dist-info/WHEEL,sha256=DnLRTWE75wApRYVsjgc6wsVswC54sMSJhAEd4xhDpBk,91
43
- aient-1.1.1.dist-info/top_level.txt,sha256=3oXzrP5sAVvyyqabpeq8A2_vfMtY554r4bVE-OHBrZk,6
44
- aient-1.1.1.dist-info/RECORD,,
40
+ aient-1.1.3.dist-info/licenses/LICENSE,sha256=XNdbcWldt0yaNXXWB_Bakoqnxb3OVhUft4MgMA_71ds,1051
41
+ aient-1.1.3.dist-info/METADATA,sha256=-GSnBw0pcE6HoEPyh1I9WGKrTp7-WnWQfcuSDaq5mxE,4967
42
+ aient-1.1.3.dist-info/WHEEL,sha256=DnLRTWE75wApRYVsjgc6wsVswC54sMSJhAEd4xhDpBk,91
43
+ aient-1.1.3.dist-info/top_level.txt,sha256=3oXzrP5sAVvyyqabpeq8A2_vfMtY554r4bVE-OHBrZk,6
44
+ aient-1.1.3.dist-info/RECORD,,
File without changes