alita-sdk 0.3.386__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/tools/base_indexer_toolkit.py +0 -1
- alita_sdk/tools/confluence/api_wrapper.py +3 -2
- {alita_sdk-0.3.386.dist-info → alita_sdk-0.3.388.dist-info}/METADATA +1 -1
- {alita_sdk-0.3.386.dist-info → alita_sdk-0.3.388.dist-info}/RECORD +8 -8
- {alita_sdk-0.3.386.dist-info → alita_sdk-0.3.388.dist-info}/WHEEL +0 -0
- {alita_sdk-0.3.386.dist-info → alita_sdk-0.3.388.dist-info}/licenses/LICENSE +0 -0
- {alita_sdk-0.3.386.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(
|
|
@@ -7,7 +7,6 @@ from typing import Any, Optional, List, Dict, Generator
|
|
|
7
7
|
from langchain_core.documents import Document
|
|
8
8
|
from pydantic import create_model, Field, SecretStr
|
|
9
9
|
|
|
10
|
-
from .utils import make_json_serializable
|
|
11
10
|
from .utils.content_parser import file_extension_by_chunker, process_document_by_type
|
|
12
11
|
from .vector_adapters.VectorStoreAdapter import VectorStoreAdapterFactory
|
|
13
12
|
from ..runtime.langchain.document_loaders.constants import loaders_allowed_to_override
|
|
@@ -536,8 +536,9 @@ class ConfluenceAPIWrapper(NonCodeIndexerToolkit):
|
|
|
536
536
|
self._errors.append(page_content_temp)
|
|
537
537
|
return Document(page_content=page_content_temp,
|
|
538
538
|
metadata={})
|
|
539
|
-
|
|
540
|
-
|
|
539
|
+
# TODO: update on toolkit advanced settings level as a separate feature
|
|
540
|
+
# if not self.include_restricted_content and not self.is_public_page(page):
|
|
541
|
+
# continue
|
|
541
542
|
yield self.process_page(page, skip_images)
|
|
542
543
|
|
|
543
544
|
def _log_errors(self):
|
|
@@ -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
|
|
@@ -136,7 +136,7 @@ alita_sdk/runtime/utils/toolkit_runtime.py,sha256=MU63Fpxj0b5_r1IUUc0Q3-PN9VwL7r
|
|
|
136
136
|
alita_sdk/runtime/utils/toolkit_utils.py,sha256=I9QFqnaqfVgN26LUr6s3XlBlG6y0CoHURnCzG7XcwVs,5311
|
|
137
137
|
alita_sdk/runtime/utils/utils.py,sha256=PJK8A-JVIzY1IowOjGG8DIqsIiEFe65qDKvFcjJCKWA,1041
|
|
138
138
|
alita_sdk/tools/__init__.py,sha256=NrZyTEdEhmO1NnAR9RFMQ05Mb-kgu68mAQz3n5r0HYs,10692
|
|
139
|
-
alita_sdk/tools/base_indexer_toolkit.py,sha256=
|
|
139
|
+
alita_sdk/tools/base_indexer_toolkit.py,sha256=44s_05Y0aycJjbZv1sc2BXewMpXYjd4ZzP_xRw3oA-Y,25222
|
|
140
140
|
alita_sdk/tools/code_indexer_toolkit.py,sha256=p3zVnCnQTUf7JUGra9Rl6GEK2W1-hvvz0Xsgz0v0muM,7292
|
|
141
141
|
alita_sdk/tools/elitea_base.py,sha256=34fmVdYgd2YXifU5LFNjMQysr4OOIZ6AOZjq4GxLgSw,34417
|
|
142
142
|
alita_sdk/tools/non_code_indexer_toolkit.py,sha256=6Lrqor1VeSLbPLDHAfg_7UAUqKFy1r_n6bdsc4-ak98,1315
|
|
@@ -231,7 +231,7 @@ alita_sdk/tools/code/loaders/codesearcher.py,sha256=XoXXZtIQZhvjIwZlnl_4wVGHC-3s
|
|
|
231
231
|
alita_sdk/tools/code/sonar/__init__.py,sha256=iPqj2PnUY4-btJjaDeWIPdn-c9L_uCr_qOoP_uwRoXw,3360
|
|
232
232
|
alita_sdk/tools/code/sonar/api_wrapper.py,sha256=nNqxcWN_6W8c0ckj-Er9HkNuAdgQLoWBXh5UyzNutis,2653
|
|
233
233
|
alita_sdk/tools/confluence/__init__.py,sha256=zRnPBM1c7VTRTS955HNc7AEGV5t8ACc2f9wBXmmeXao,6845
|
|
234
|
-
alita_sdk/tools/confluence/api_wrapper.py,sha256=
|
|
234
|
+
alita_sdk/tools/confluence/api_wrapper.py,sha256=TrB4g0gYlollej9kG68kQXrrOUiFwVUxYKo-tZ4ngac,90719
|
|
235
235
|
alita_sdk/tools/confluence/loader.py,sha256=4bf5qrJMEiJzuZp2NlxO2XObLD1w7fxss_WyMUpe8sg,9290
|
|
236
236
|
alita_sdk/tools/confluence/utils.py,sha256=Lxo6dBD0OlvM4o0JuK6qeB_4LV9BptiwJA9e1vqNcDw,435
|
|
237
237
|
alita_sdk/tools/custom_open_api/__init__.py,sha256=9aT5SPNPWcJC6jMZEM-3rUCXVULj_3-qJLQKmnreKNo,2537
|
|
@@ -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
|