zrb 1.14.2__py3-none-any.whl → 1.14.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.
zrb/task/llm/tool_wrapper.py
CHANGED
@@ -127,10 +127,12 @@ async def _ask_for_approval(
|
|
127
127
|
) -> tuple[bool, str]:
|
128
128
|
func_name = get_callable_name(func)
|
129
129
|
normalized_args = [stylize_green(_truncate_arg(arg)) for arg in args]
|
130
|
-
normalized_kwargs = [
|
131
|
-
|
132
|
-
|
133
|
-
|
130
|
+
normalized_kwargs = []
|
131
|
+
for key, val in kwargs.items():
|
132
|
+
truncated_val = _truncate_arg(f"{val}")
|
133
|
+
normalized_kwargs.append(
|
134
|
+
f"{stylize_yellow(key)}={stylize_green(truncated_val)}"
|
135
|
+
)
|
134
136
|
func_param_str = ",".join(normalized_args + normalized_kwargs)
|
135
137
|
func_call_str = (
|
136
138
|
f"{stylize_blue(func_name + '(')}{func_param_str}{stylize_blue(')')}"
|
@@ -357,7 +357,7 @@ zrb/task/llm/error.py,sha256=QR-nIohS6pBpC_16cWR-fw7Mevo1sNYAiXMBsh_CJDE,4157
|
|
357
357
|
zrb/task/llm/history_summarization.py,sha256=_0RmzIeJdJA3KvtdTdKnd2Ga7_7x8C1J2PM0oSn-IYw,8000
|
358
358
|
zrb/task/llm/print_node.py,sha256=mwdqsO2IVf5rDz-jdH9HXz6MFGCWrZ4Pv2xbUBtoNgc,4179
|
359
359
|
zrb/task/llm/prompt.py,sha256=pHYuo4cLzuH9VYk2-PAyxng_l1ItXVZl0llZDQcbnWA,9748
|
360
|
-
zrb/task/llm/tool_wrapper.py,sha256=
|
360
|
+
zrb/task/llm/tool_wrapper.py,sha256=7fBZU4uDmmwaeeEnR6fsbiELxXuYY8iHliW1HZ_xIv0,8236
|
361
361
|
zrb/task/llm/typing.py,sha256=c8VAuPBw_4A3DxfYdydkgedaP-LU61W9_wj3m3CAX1E,58
|
362
362
|
zrb/task/llm_task.py,sha256=88yc0SbU2ocWK6VBGoqBy-Lo49ebBTI_KKjsLxDp3sM,13945
|
363
363
|
zrb/task/make_task.py,sha256=PD3b_aYazthS8LHeJsLAhwKDEgdurQZpymJDKeN60u0,2265
|
@@ -406,7 +406,7 @@ zrb/util/todo.py,sha256=r9_KYF2-hLKMNjsp6AFK9zivykMrywd-kJ4bCwfdafI,19323
|
|
406
406
|
zrb/util/todo_model.py,sha256=hhzAX-uFl5rsg7iVX1ULlJOfBtblwQ_ieNUxBWfc-Os,1670
|
407
407
|
zrb/xcom/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
408
408
|
zrb/xcom/xcom.py,sha256=o79rxR9wphnShrcIushA0Qt71d_p3ZTxjNf7x9hJB78,1571
|
409
|
-
zrb-1.14.
|
410
|
-
zrb-1.14.
|
411
|
-
zrb-1.14.
|
412
|
-
zrb-1.14.
|
409
|
+
zrb-1.14.3.dist-info/METADATA,sha256=hgYWuKB29Cc1DcbaKxejldxDZwPWvnSCqQgugfa8OHs,9777
|
410
|
+
zrb-1.14.3.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
411
|
+
zrb-1.14.3.dist-info/entry_points.txt,sha256=-Pg3ElWPfnaSM-XvXqCxEAa-wfVI6BEgcs386s8C8v8,46
|
412
|
+
zrb-1.14.3.dist-info/RECORD,,
|
File without changes
|
File without changes
|