alita-sdk 0.3.387__py3-none-any.whl → 0.3.388__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.
Potentially problematic release.
This version of alita-sdk might be problematic. Click here for more details.
- alita_sdk/runtime/tools/function.py +3 -1
- {alita_sdk-0.3.387.dist-info → alita_sdk-0.3.388.dist-info}/METADATA +1 -1
- {alita_sdk-0.3.387.dist-info → alita_sdk-0.3.388.dist-info}/RECORD +6 -6
- {alita_sdk-0.3.387.dist-info → alita_sdk-0.3.388.dist-info}/WHEEL +0 -0
- {alita_sdk-0.3.387.dist-info → alita_sdk-0.3.388.dist-info}/licenses/LICENSE +0 -0
- {alita_sdk-0.3.387.dist-info → alita_sdk-0.3.388.dist-info}/top_level.txt +0 -0
|
@@ -112,7 +112,9 @@ class FunctionTool(BaseTool):
|
|
|
112
112
|
# special handler for PyodideSandboxTool
|
|
113
113
|
if self._is_pyodide_tool():
|
|
114
114
|
code = func_args['code']
|
|
115
|
-
func_args['code'] = f"{self._prepare_pyodide_input(state)}\n{code}"
|
|
115
|
+
func_args['code'] = (f"{self._prepare_pyodide_input(state)}\n{code}"
|
|
116
|
+
# handle new lines in the code properly
|
|
117
|
+
.replace('\\n','\\\\n'))
|
|
116
118
|
try:
|
|
117
119
|
tool_result = self.tool.invoke(func_args, config, **kwargs)
|
|
118
120
|
dispatch_custom_event(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: alita_sdk
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.388
|
|
4
4
|
Summary: SDK for building langchain agents using resources from Alita
|
|
5
5
|
Author-email: Artem Rozumenko <artyom.rozumenko@gmail.com>, Mikalai Biazruchka <mikalai_biazruchka@epam.com>, Roman Mitusov <roman_mitusov@epam.com>, Ivan Krakhmaliuk <lifedj27@gmail.com>, Artem Dubrovskiy <ad13box@gmail.com>
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -110,7 +110,7 @@ alita_sdk/runtime/tools/application.py,sha256=z3vLZODs-_xEEnZFmGF0fKz1j3VtNJxqsA
|
|
|
110
110
|
alita_sdk/runtime/tools/artifact.py,sha256=u3szFwZqguHrPZ3tZJ7S_TiZl7cxlT3oHYd6zbdpRDE,13842
|
|
111
111
|
alita_sdk/runtime/tools/datasource.py,sha256=pvbaSfI-ThQQnjHG-QhYNSTYRnZB0rYtZFpjCfpzxYI,2443
|
|
112
112
|
alita_sdk/runtime/tools/echo.py,sha256=spw9eCweXzixJqHnZofHE1yWiSUa04L4VKycf3KCEaM,486
|
|
113
|
-
alita_sdk/runtime/tools/function.py,sha256=
|
|
113
|
+
alita_sdk/runtime/tools/function.py,sha256=tXYSlXSdVamAcoSkdCXfq_Ghds2ph1ficcCq8FS-ROM,7132
|
|
114
114
|
alita_sdk/runtime/tools/graph.py,sha256=7jImBBSEdP5Mjnn2keOiyUwdGDFhEXLUrgUiugO3mgA,3503
|
|
115
115
|
alita_sdk/runtime/tools/image_generation.py,sha256=Kls9D_ke_SK7xmVr7I9SlQcAEBJc86gf66haN0qIj9k,7469
|
|
116
116
|
alita_sdk/runtime/tools/indexer_tool.py,sha256=whSLPevB4WD6dhh2JDXEivDmTvbjiMV1MrPl9cz5eLA,4375
|
|
@@ -353,8 +353,8 @@ alita_sdk/tools/zephyr_scale/api_wrapper.py,sha256=kT0TbmMvuKhDUZc0i7KO18O38JM9S
|
|
|
353
353
|
alita_sdk/tools/zephyr_squad/__init__.py,sha256=0ne8XLJEQSLOWfzd2HdnqOYmQlUliKHbBED5kW_Vias,2895
|
|
354
354
|
alita_sdk/tools/zephyr_squad/api_wrapper.py,sha256=kmw_xol8YIYFplBLWTqP_VKPRhL_1ItDD0_vXTe_UuI,14906
|
|
355
355
|
alita_sdk/tools/zephyr_squad/zephyr_squad_cloud_client.py,sha256=R371waHsms4sllHCbijKYs90C-9Yu0sSR3N4SUfQOgU,5066
|
|
356
|
-
alita_sdk-0.3.
|
|
357
|
-
alita_sdk-0.3.
|
|
358
|
-
alita_sdk-0.3.
|
|
359
|
-
alita_sdk-0.3.
|
|
360
|
-
alita_sdk-0.3.
|
|
356
|
+
alita_sdk-0.3.388.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
357
|
+
alita_sdk-0.3.388.dist-info/METADATA,sha256=RE3InbqIpNKLlMJeohrCIYG7p9Vh5ea3cwlibfMGtVE,19071
|
|
358
|
+
alita_sdk-0.3.388.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
359
|
+
alita_sdk-0.3.388.dist-info/top_level.txt,sha256=0vJYy5p_jK6AwVb1aqXr7Kgqgk3WDtQ6t5C-XI9zkmg,10
|
|
360
|
+
alita_sdk-0.3.388.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|