Update CtrlExMem_ExtLib.py
Browse files- CtrlExMem_ExtLib.py +12 -1
CtrlExMem_ExtLib.py
CHANGED
@@ -4,6 +4,17 @@ from flow_modules.Tachi67.AbstractBossFlowModule import CtrlExMemFlow
|
|
4 |
from aiflows.base_flows import CircularFlow
|
5 |
|
6 |
class CtrlExMem_ExtLib(CtrlExMemFlow):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
def _on_reach_max_round(self):
|
8 |
self._state_update_dict({
|
9 |
"result": "the maximum amount of rounds was reached before the extend library flow has done the job",
|
@@ -50,4 +61,4 @@ class CtrlExMem_ExtLib(CtrlExMemFlow):
|
|
50 |
return output_payload
|
51 |
|
52 |
else:
|
53 |
-
return output_payload
|
|
|
4 |
from aiflows.base_flows import CircularFlow
|
5 |
|
6 |
class CtrlExMem_ExtLib(CtrlExMemFlow):
|
7 |
+
"""This class inherits from the CtrlExMemFlow class from AbstractBossFlowModule.
|
8 |
+
See: https://huggingface.co/Tachi67/AbstractBossFlowModule/blob/main/CtrlExMemFlow.py
|
9 |
+
*Input Interface*:
|
10 |
+
- `plan`
|
11 |
+
- `logs`
|
12 |
+
- `memory_files`
|
13 |
+
- `goal`
|
14 |
+
*Output Interface*
|
15 |
+
- `result` (str): The result of the flow, the result will be returned to the caller.
|
16 |
+
- `summary` (str): The summary of the flow, the summary will be logged into the logs of the caller flow.
|
17 |
+
"""
|
18 |
def _on_reach_max_round(self):
|
19 |
self._state_update_dict({
|
20 |
"result": "the maximum amount of rounds was reached before the extend library flow has done the job",
|
|
|
61 |
return output_payload
|
62 |
|
63 |
else:
|
64 |
+
return output_payload
|