zrb 1.16.0__py3-none-any.whl → 1.16.1__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.
zrb/builtin/llm/chat_session.py
CHANGED
@@ -31,7 +31,10 @@ async def read_user_prompt(ctx: AnyContext) -> str:
|
|
31
31
|
final_result: str = ""
|
32
32
|
while True:
|
33
33
|
await asyncio.sleep(0.01)
|
34
|
-
previous_session_name
|
34
|
+
previous_session_name: str | None = (
|
35
|
+
ctx.input.previous_session if is_first_time else None
|
36
|
+
)
|
37
|
+
start_new: bool = ctx.input.start_new if is_first_time else False
|
35
38
|
if is_first_time:
|
36
39
|
is_first_time = False
|
37
40
|
# Get user input based on mode
|
@@ -50,6 +53,7 @@ async def read_user_prompt(ctx: AnyContext) -> str:
|
|
50
53
|
modes=current_modes,
|
51
54
|
yolo_mode=current_yolo_mode,
|
52
55
|
previous_session_name=previous_session_name,
|
56
|
+
start_new=start_new,
|
53
57
|
)
|
54
58
|
if result is not None:
|
55
59
|
final_result = result
|
@@ -67,6 +71,7 @@ async def read_user_prompt(ctx: AnyContext) -> str:
|
|
67
71
|
modes=current_modes,
|
68
72
|
yolo_mode=current_yolo_mode,
|
69
73
|
previous_session_name=previous_session_name,
|
74
|
+
start_new=start_new,
|
70
75
|
)
|
71
76
|
if result is not None:
|
72
77
|
final_result = result
|
@@ -101,6 +106,7 @@ async def read_user_prompt(ctx: AnyContext) -> str:
|
|
101
106
|
modes=current_modes,
|
102
107
|
yolo_mode=current_yolo_mode,
|
103
108
|
previous_session_name=previous_session_name,
|
109
|
+
start_new=start_new,
|
104
110
|
)
|
105
111
|
if result is not None:
|
106
112
|
final_result = result
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: zrb
|
3
|
-
Version: 1.16.
|
3
|
+
Version: 1.16.1
|
4
4
|
Summary: Your Automation Powerhouse
|
5
5
|
License: AGPL-3.0-or-later
|
6
6
|
Keywords: Automation,Task Runner,Code Generator,Monorepo,Low Code
|
@@ -37,6 +37,7 @@ Requires-Dist: requests (>=2.32.2,<3.0.0)
|
|
37
37
|
Requires-Dist: rich (>=13)
|
38
38
|
Requires-Dist: tiktoken (>=0.8.0,<0.9.0)
|
39
39
|
Requires-Dist: ulid-py (>=1.1.0,<2.0.0)
|
40
|
+
Requires-Dist: xmltodict (>=1.0.2,<2.0.0)
|
40
41
|
Project-URL: Documentation, https://github.com/state-alchemists/zrb
|
41
42
|
Project-URL: Homepage, https://github.com/state-alchemists/zrb
|
42
43
|
Project-URL: Repository, https://github.com/state-alchemists/zrb
|
@@ -9,7 +9,7 @@ zrb/builtin/git_subtree.py,sha256=7BKwOkVTWDrR0DXXQ4iJyHqeR6sV5VYRt8y_rEB0EHg,35
|
|
9
9
|
zrb/builtin/group.py,sha256=zYC5uw0VE97TXiLCr464kFJ-CJIJyeQ2RXjnVRY5ovs,2577
|
10
10
|
zrb/builtin/http.py,sha256=L6RE73c65wWwG5iHFN-tpOhyh56KsrgVskDd3c3YXtk,4246
|
11
11
|
zrb/builtin/jwt.py,sha256=3M5uaQhJZbKQLjTUft1OwPz_JxtmK-xtkjxWjciOQho,2859
|
12
|
-
zrb/builtin/llm/chat_session.py,sha256=
|
12
|
+
zrb/builtin/llm/chat_session.py,sha256=Q9-5aG3CLRDuRjUtjXPLMTHl9PEwx31HQo0_RkDn9Vs,10516
|
13
13
|
zrb/builtin/llm/history.py,sha256=LDOrL0p7r_AHLa5L8Dp7bHNsOALugmJd7OguXRWGnm4,3087
|
14
14
|
zrb/builtin/llm/input.py,sha256=Nw-26uTWp2QhUgKJcP_IMHmtk-b542CCSQ_vCOjhvhM,877
|
15
15
|
zrb/builtin/llm/llm_ask.py,sha256=FU5KonqW1U_vDch2gIGE7yoMmLLDNiV4QLA4VDv0zxk,6636
|
@@ -410,7 +410,7 @@ zrb/util/todo_model.py,sha256=hhzAX-uFl5rsg7iVX1ULlJOfBtblwQ_ieNUxBWfc-Os,1670
|
|
410
410
|
zrb/util/truncate.py,sha256=eSzmjBpc1Qod3lM3M73snNbDOcARHukW_tq36dWdPvc,921
|
411
411
|
zrb/xcom/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
412
412
|
zrb/xcom/xcom.py,sha256=o79rxR9wphnShrcIushA0Qt71d_p3ZTxjNf7x9hJB78,1571
|
413
|
-
zrb-1.16.
|
414
|
-
zrb-1.16.
|
415
|
-
zrb-1.16.
|
416
|
-
zrb-1.16.
|
413
|
+
zrb-1.16.1.dist-info/METADATA,sha256=xLE_P4uDT-BfY5pzkxxhzw5RTT4tOMQJUiYMAc-tAUw,9933
|
414
|
+
zrb-1.16.1.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
415
|
+
zrb-1.16.1.dist-info/entry_points.txt,sha256=-Pg3ElWPfnaSM-XvXqCxEAa-wfVI6BEgcs386s8C8v8,46
|
416
|
+
zrb-1.16.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|