lionagi 0.2.8__py3-none-any.whl → 0.2.9__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,6 @@
1
+ import json
1
2
  from typing import Any, Dict
2
3
 
3
- from lionfuncs import as_readable_json
4
-
5
4
  from lionagi.core.collections.abc import SYSTEM_FIELDS
6
5
  from lionagi.core.report.base import BaseForm
7
6
  from lionagi.core.report.util import get_input_output_fields
@@ -203,7 +202,7 @@ class Form(BaseForm):
203
202
 
204
203
  for k, v in fields.items():
205
204
  if isinstance(v, dict):
206
- v = as_readable_json(v)
205
+ v = json.dumps(v, indent=4)
207
206
  if len(str(v)) > 50:
208
207
  display(Markdown(f"**{k}**: \n {v}"))
209
208
  else:
lionagi/version.py CHANGED
@@ -1 +1 @@
1
- __version__ = "0.2.8"
1
+ __version__ = "0.2.9"
@@ -1,11 +1,13 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lionagi
3
- Version: 0.2.8
3
+ Version: 0.2.9
4
4
  Summary: Towards automated general intelligence.
5
5
  Author: HaiyangLi
6
6
  Author-email: quantocean.li@gmail.com
7
- Requires-Python: >=3.12,<4.0
7
+ Requires-Python: >=3.10,<4.0
8
8
  Classifier: Programming Language :: Python :: 3
9
+ Classifier: Programming Language :: Python :: 3.10
10
+ Classifier: Programming Language :: Python :: 3.11
9
11
  Classifier: Programming Language :: Python :: 3.12
10
12
  Requires-Dist: aiocache (>=0.12.3,<0.13.0)
11
13
  Requires-Dist: ipython (>=8.27.0,<9.0.0)
@@ -25,7 +27,7 @@ Description-Content-Type: text/markdown
25
27
  ### an AGentic Intelligence Operating System
26
28
 
27
29
  ```
28
- pip install lionagi==0.2.7
30
+ pip install lionagi==0.2.8
29
31
  ```
30
32
 
31
33
  **Powerful Intelligent Workflow Automation**
@@ -73,7 +73,7 @@ lionagi/core/message/system.py,sha256=48mvib50mno9F-8fkLa8SzPxz3G1KlRgz3GkIluMFU
73
73
  lionagi/core/message/util.py,sha256=b72t4uu5vJqYwGeM8AyTUs3HGyO5sgpvVjqvHoCm2Wg,9099
74
74
  lionagi/core/report/__init__.py,sha256=KqfJNaSx9fzRw3eyrlIlYIiueo-jVYMgjaOdfzTUAN4,80
75
75
  lionagi/core/report/base.py,sha256=9YN-nes5Dv_bbd9Efd5wbu2ZGInk70PF7UXcvXoigXk,7095
76
- lionagi/core/report/form.py,sha256=h4ZoEPFB5vpoopjA6w-5CseSUvtfzfh1SzTp4te7Ypc,7022
76
+ lionagi/core/report/form.py,sha256=YAAbh0PXrAXoNgIJ6yLYg7gl9YTCbZlNAs1hlLEO0Fw,6998
77
77
  lionagi/core/report/report.py,sha256=nybz122W9dBkcwxp_Ui5PqjrLNloZhwTwn9ia8cWMwQ,5225
78
78
  lionagi/core/report/util.py,sha256=mTLBAA79BvgeNBazLl9Mc0lO9mlo-N2SoI7LBMqG7Fc,444
79
79
  lionagi/core/rule/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -260,8 +260,8 @@ lionagi/tests/test_core/test_structure/test_base_structure.py,sha256=qsaYP745fFI
260
260
  lionagi/tests/test_core/test_structure/test_graph.py,sha256=hLsTZmZMs9vCZW-KiOwYY3npk6WxaVU6zZSA9-ltDvQ,2162
261
261
  lionagi/tests/test_core/test_structure/test_tree.py,sha256=PvMJXDsNPpJFgEQCan-5Q5JREgMrBOpYIaWcwHd-WDY,1944
262
262
  lionagi/tests/test_core/test_validator.py,sha256=G8h3SMUuH9behQe0-c3-5fZ9s67vgTwlmwfcS0k6dtI,4234
263
- lionagi/version.py,sha256=G6Dbxq2ws-1ZAXwDD8q0KWueYtso_Y6Uyvtj8sRWsPI,22
264
- lionagi-0.2.8.dist-info/LICENSE,sha256=VXFWsdoN5AAknBCgFqQNgPWYx7OPp-PFEP961zGdOjc,11288
265
- lionagi-0.2.8.dist-info/METADATA,sha256=wj1bDoR7HEl8dS_Eoyu6FR66CrDvUS3guvpuHSMAXEY,3059
266
- lionagi-0.2.8.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
267
- lionagi-0.2.8.dist-info/RECORD,,
263
+ lionagi/version.py,sha256=F8OVhAhMXSkvvXYgZtbPn2SG1AQC3joK4yu-FrHt81Y,22
264
+ lionagi-0.2.9.dist-info/LICENSE,sha256=VXFWsdoN5AAknBCgFqQNgPWYx7OPp-PFEP961zGdOjc,11288
265
+ lionagi-0.2.9.dist-info/METADATA,sha256=dGz_vA0RfB-fLGj2nbyRetW_DEqRx2PIcg-G11x4xmM,3161
266
+ lionagi-0.2.9.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
267
+ lionagi-0.2.9.dist-info/RECORD,,