lionagi 0.2.6__py3-none-any.whl → 0.2.7__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.
- lionagi/core/collections/model.py +2 -0
- lionagi/core/session/branch.py +9 -9
- lionagi/version.py +1 -1
- {lionagi-0.2.6.dist-info → lionagi-0.2.7.dist-info}/METADATA +2 -2
- {lionagi-0.2.6.dist-info → lionagi-0.2.7.dist-info}/RECORD +8 -8
- {lionagi-0.2.6.dist-info → lionagi-0.2.7.dist-info}/LICENSE +0 -0
- {lionagi-0.2.6.dist-info → lionagi-0.2.7.dist-info}/WHEEL +0 -0
- {lionagi-0.2.6.dist-info → lionagi-0.2.7.dist-info}/top_level.txt +0 -0
lionagi/core/session/branch.py
CHANGED
@@ -58,7 +58,7 @@ class Branch(Node, DirectiveMixin):
|
|
58
58
|
messages: Pile = Field(None)
|
59
59
|
progress: Progression = Field(None)
|
60
60
|
tool_manager: ToolManager = Field(None)
|
61
|
-
system: System = Field(None)
|
61
|
+
system: System | None = Field(None)
|
62
62
|
user: str = Field(None)
|
63
63
|
mailbox: Exchange[Mail] = Field(None)
|
64
64
|
imodel: iModel = Field(None)
|
@@ -110,14 +110,14 @@ class Branch(Node, DirectiveMixin):
|
|
110
110
|
system (System): The system message to set.
|
111
111
|
sender (str, optional): The sender of the system message.
|
112
112
|
"""
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
113
|
+
if system is not None:
|
114
|
+
if len(self.progress) == 0:
|
115
|
+
self.add_message(system=system, sender=sender)
|
116
|
+
else:
|
117
|
+
_msg = System(system=system, sender=sender)
|
118
|
+
_msg.recipient = self.ln_id
|
119
|
+
self._remove_system()
|
120
|
+
self.system = _msg
|
121
121
|
|
122
122
|
def add_message(
|
123
123
|
self,
|
lionagi/version.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = "0.2.
|
1
|
+
__version__ = "0.2.7"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: lionagi
|
3
|
-
Version: 0.2.
|
3
|
+
Version: 0.2.7
|
4
4
|
Summary: Towards automated general intelligence.
|
5
5
|
Author: HaiyangLi
|
6
6
|
Author-email: Haiyang Li <ocean@lionagi.ai>
|
@@ -237,7 +237,7 @@ Requires-Dist: boto3 >=1.34.131
|
|
237
237
|
### an AGentic Intelligence Operating System
|
238
238
|
|
239
239
|
```
|
240
|
-
pip install lionagi==0.2.
|
240
|
+
pip install lionagi==0.2.6
|
241
241
|
```
|
242
242
|
|
243
243
|
**Powerful Intelligent Workflow Automation**
|
@@ -1,5 +1,5 @@
|
|
1
1
|
lionagi/__init__.py,sha256=amQal6CUIv4QDI4Qmb0M5qwTbn3_F430Wl5vaSNG6-U,1952
|
2
|
-
lionagi/version.py,sha256=
|
2
|
+
lionagi/version.py,sha256=XHypfHSPdgXFKmOdoewn7czU670gt8InhHhzlP5j_aA,22
|
3
3
|
lionagi/core/__init__.py,sha256=Il5Q9ATdX8yXqVxtP_nYqUhExzxPC_qk_WXQ_4h0exg,16
|
4
4
|
lionagi/core/_setting/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
5
5
|
lionagi/core/_setting/_setting.py,sha256=p23fHtrzIZlQ8s8CDZICn8C6k7mdB_088nIDx19JaqM,1907
|
@@ -23,7 +23,7 @@ lionagi/core/collections/__init__.py,sha256=5374e0qHH75IUvW-xA3Dte25N_oc_YXjtu7e
|
|
23
23
|
lionagi/core/collections/_logger.py,sha256=_jwZe6BsRaWB2YkHwG01jmiudJkoi5u90Ry3KKa9T-o,12104
|
24
24
|
lionagi/core/collections/exchange.py,sha256=Skx2al0PtNkzdaApb8DdbOO0ukC19kSQnlskHpAHJHw,4832
|
25
25
|
lionagi/core/collections/flow.py,sha256=0tBeVJhENXjVFjtOlrEHXvI4q-rgTyD-kcE7X29AqDE,13189
|
26
|
-
lionagi/core/collections/model.py,sha256=
|
26
|
+
lionagi/core/collections/model.py,sha256=U9yFhQ31NH24HwJjnnRxOfZcnUWq8Vuk_iF0r8SZc5A,16079
|
27
27
|
lionagi/core/collections/pile.py,sha256=MF2G846TolIiKZkY0mjSOvD7Bc3__Fb_z-WiiLG1lbM,29444
|
28
28
|
lionagi/core/collections/progression.py,sha256=eDhSbsQWb9TVsNExaJAN27tjoyb6QEKWPxBZKUbNbs0,7295
|
29
29
|
lionagi/core/collections/util.py,sha256=JRu_gCDYopqIUByEtJgnJNkeoWnhge7XbSFejrdbIec,1962
|
@@ -82,7 +82,7 @@ lionagi/core/rule/rulebook.py,sha256=HlJCIjhsRB0yJs-uF85aK9bJasCDI0K845UGmymzD9Q
|
|
82
82
|
lionagi/core/rule/string.py,sha256=8nSxEhHUFs-gWM1MW5fiNuDP1Yd_IIZ2ipBVphgCmQ0,1487
|
83
83
|
lionagi/core/rule/util.py,sha256=qqtUqt4BL_sikW2XZ73NDzb3p-Awu4za_2B5mZvzFdA,1042
|
84
84
|
lionagi/core/session/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
85
|
-
lionagi/core/session/branch.py,sha256=
|
85
|
+
lionagi/core/session/branch.py,sha256=338N-jw-AfnjksYFo2WiLIeXdzxOYJ_qZBxMuk-U8bU,14769
|
86
86
|
lionagi/core/session/directive_mixin.py,sha256=vCoOIA_AYEH7M1ptDBUaOtSuxC5KQSAnsKn9X-LpjFs,12275
|
87
87
|
lionagi/core/session/session.py,sha256=uESwIyGfRrX8Ii03-QIQYUlQKR7lsJWREdSZrHxfNW4,11012
|
88
88
|
lionagi/core/structure/__init__.py,sha256=DkeLUlrb7rGx3nZ04aADU9HXXu5mZTf_DBwT0xhzIv4,7
|
@@ -251,8 +251,8 @@ lionagi/tests/test_core/test_structure/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JC
|
|
251
251
|
lionagi/tests/test_core/test_structure/test_base_structure.py,sha256=qsaYP745fFIst5ZNiPFb9-ATScLyUFqQ5UQzyyBgJPM,9388
|
252
252
|
lionagi/tests/test_core/test_structure/test_graph.py,sha256=hLsTZmZMs9vCZW-KiOwYY3npk6WxaVU6zZSA9-ltDvQ,2162
|
253
253
|
lionagi/tests/test_core/test_structure/test_tree.py,sha256=PvMJXDsNPpJFgEQCan-5Q5JREgMrBOpYIaWcwHd-WDY,1944
|
254
|
-
lionagi-0.2.
|
255
|
-
lionagi-0.2.
|
256
|
-
lionagi-0.2.
|
257
|
-
lionagi-0.2.
|
258
|
-
lionagi-0.2.
|
254
|
+
lionagi-0.2.7.dist-info/LICENSE,sha256=VXFWsdoN5AAknBCgFqQNgPWYx7OPp-PFEP961zGdOjc,11288
|
255
|
+
lionagi-0.2.7.dist-info/METADATA,sha256=WI8pyy3AHxkvSBmxFFQKtYGoL-tCXEplXj6xU9rzcWs,16276
|
256
|
+
lionagi-0.2.7.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
|
257
|
+
lionagi-0.2.7.dist-info/top_level.txt,sha256=szvch_d2jE1Lu9ZIKsl26Ll6BGfYfbOgt5lm-UpFSo4,8
|
258
|
+
lionagi-0.2.7.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|