alita-sdk 0.3.294__py3-none-any.whl → 0.3.295__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.
@@ -664,7 +664,8 @@ class BaseCodeToolApiWrapper(BaseVectorStoreToolApiWrapper):
664
664
  vectorstore = self._init_vector_store()
665
665
  clean_index = kwargs.get('clean_index', False)
666
666
  return vectorstore.index_documents(documents, collection_suffix=collection_suffix,
667
- clean_index=clean_index, is_code=True)
667
+ clean_index=clean_index, is_code=True,
668
+ progress_step=kwargs.get('progress_step', 5))
668
669
 
669
670
  def _get_vector_search_tools(self):
670
671
  """
@@ -119,7 +119,8 @@ LoaderSchema = create_model(
119
119
  "LoaderSchema",
120
120
  branch=(Optional[str], Field(description="The branch to set as active. If None, the current active branch is used.", default=None)),
121
121
  whitelist=(Optional[List[str]], Field(description="A list of file extensions or paths to include. If None, all files are included.", default=None)),
122
- blacklist=(Optional[List[str]], Field(description="A list of file extensions or paths to exclude. If None, no files are excluded.", default=None))
122
+ blacklist=(Optional[List[str]], Field(description="A list of file extensions or paths to exclude. If None, no files are excluded.", default=None)),
123
+ progress_step=(Optional[int], Field(default=5, ge=0, le=100, description="Optional step size for progress reporting during indexing (0-100)"))
123
124
  )
124
125
 
125
126
  CreateIssueOnProject = create_model(
@@ -35,7 +35,7 @@ def get_tools(tools_list: list, alita_client, llm, memory_store=None):
35
35
  try:
36
36
  toolkit_instance = MemoryToolkit().get_toolkit(
37
37
  namespace=tool['settings'].get('namespace', str(tool['id'])),
38
- username=tool['settings'].get('username', ''),
38
+ # username=tool['settings'].get('username', ''),
39
39
  store=tool['settings'].get('store', memory_store),
40
40
  toolkit_name=tool.get('toolkit_name', '')
41
41
  )
@@ -56,15 +56,15 @@ class MemoryToolkit(BaseToolkit):
56
56
  return create_model(
57
57
  'MemoryConfig',
58
58
  namespace=(str, Field(description="Memory namespace", json_schema_extra={'toolkit_name': True})),
59
- username=(Optional[str], Field(description="Username", default='Tester', json_schema_extra={'hidden': True})),
60
- connection_string=(Optional[SecretStr], Field(description="Connection string for vectorstore",
61
- default=None,
62
- json_schema_extra={'secret': True})),
59
+ # username=(Optional[str], Field(description="Username", default='Tester', json_schema_extra={'hidden': True})),
60
+ # connection_string=(Optional[SecretStr], Field(description="Connection string for vectorstore",
61
+ # default=None,
62
+ # json_schema_extra={'secret': True})),
63
63
  __config__=ConfigDict(json_schema_extra={
64
64
  'metadata': {
65
65
  "label": "Memory",
66
66
  "icon_url": "memory.svg",
67
- "hidden": True,
67
+ "hidden": False,
68
68
  "categories": ["other"],
69
69
  "extra_categories": ["long-term memory", "langmem"],
70
70
  }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: alita_sdk
3
- Version: 0.3.294
3
+ Version: 0.3.295
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 <lifedjik@gmail.com>, Artem Dubrovskiy <ad13box@gmail.com>
6
6
  License-Expression: Apache-2.0
@@ -133,7 +133,7 @@ alita_sdk/runtime/utils/toolkit_utils.py,sha256=I9QFqnaqfVgN26LUr6s3XlBlG6y0CoHU
133
133
  alita_sdk/runtime/utils/utils.py,sha256=VXNLsdeTmf6snn9EtUyobv4yL-xzLhUcH8P_ORMifYc,675
134
134
  alita_sdk/tools/__init__.py,sha256=8oFahbggsv8h7hEqqeQ4iF6g2m85Ki17iSeknviCNis,10613
135
135
  alita_sdk/tools/base_indexer_toolkit.py,sha256=3s8YRx_ambQQXGOKdlt_sRqREbrzFgm9zCWgxWsPHMU,20155
136
- alita_sdk/tools/elitea_base.py,sha256=SqtXuRVCmM1HfCvz-1MaoCnk8caUgpvI6RrK6RYbwkY,33308
136
+ alita_sdk/tools/elitea_base.py,sha256=DaU1UkZVF0CVExNYk8I-MH3ZTW7qy9Ts9OaJgWr8b40,33397
137
137
  alita_sdk/tools/non_code_indexer_toolkit.py,sha256=v9uq1POE1fQKCd152mbqDtF-HSe0qoDj83k4E5LAkMI,1080
138
138
  alita_sdk/tools/ado/__init__.py,sha256=u2tdDgufGuDb-7lIgKKQlqgStL9Wd1gzNmRNYems2c0,1267
139
139
  alita_sdk/tools/ado/utils.py,sha256=PTCludvaQmPLakF2EbCGy66Mro4-rjDtavVP-xcB2Wc,1252
@@ -239,7 +239,7 @@ alita_sdk/tools/github/__init__.py,sha256=2LLkgtm8mp5e1vlgx2VtPiUlV95iCeYLOXdWVz
239
239
  alita_sdk/tools/github/api_wrapper.py,sha256=uDwYckdnpYRJtb0uZnDkaz2udvdDLVxuCh1tSwspsiU,8411
240
240
  alita_sdk/tools/github/github_client.py,sha256=nxnSXsDul2PPbWvYZS8TmAFFmR-5ALyakNoV5LN2D4U,86617
241
241
  alita_sdk/tools/github/graphql_client_wrapper.py,sha256=d3AGjzLGH_hdQV2V8HeAX92dJ4dlnE5OXqUlCO_PBr0,71539
242
- alita_sdk/tools/github/schemas.py,sha256=yFsqivfjCPRk9GxFJrL8sTz6nnjFCZ0j5DIfPtGSsvA,13852
242
+ alita_sdk/tools/github/schemas.py,sha256=TxEWR3SjDKVwzo9i2tLnss_uPAv85Mh7oWjvQvYLDQE,14000
243
243
  alita_sdk/tools/github/tool.py,sha256=Jnnv5lenV5ds8AAdyo2m8hSzyJ117HZBjzHC6T1ck-M,1037
244
244
  alita_sdk/tools/github/tool_prompts.py,sha256=y6ZW_FpUCE87Uop3WuQAZVRnzxO5t7xjBOI5bCqiluw,30194
245
245
  alita_sdk/tools/gitlab/__init__.py,sha256=_ZmoZaaxJ9qmkTSZ8xsAiXMqR075GHvW1w6USvEyKf8,4478
@@ -268,7 +268,7 @@ alita_sdk/tools/llm/llm_utils.py,sha256=6P2j-42JGbyqpO8lNRuEP8GEhja-LC9E-98jTelK
268
268
  alita_sdk/tools/localgit/__init__.py,sha256=NScO0Eu-wl-rc63jjD5Qv1RXXB1qukSIJXx-yS_JQLI,2529
269
269
  alita_sdk/tools/localgit/local_git.py,sha256=gsAftNcK7nMCd8VsIkwDLs2SoG0MgpYdkQG5tmoynkA,18074
270
270
  alita_sdk/tools/localgit/tool.py,sha256=It_B24rMvFPurB355Oy5IShg2BsZTASsEoSS8hu2SXw,998
271
- alita_sdk/tools/memory/__init__.py,sha256=Z3txBO3BMEk539_uBhGQaT57JWBVImbmZ8oPcLMj9ik,3900
271
+ alita_sdk/tools/memory/__init__.py,sha256=lOWC8pzVu8qlaVuG2YdFpkNTJkvZ3aMFLHeBVyD423Y,3911
272
272
  alita_sdk/tools/ocr/__init__.py,sha256=pvslKVXyJmK0q23FFDNieuc7RBIuzNXTjTNj-GqhGb0,3335
273
273
  alita_sdk/tools/ocr/api_wrapper.py,sha256=08UF8wj1sR8DcW0z16pw19bgLatLkBF8dySW-Ds8iRk,29649
274
274
  alita_sdk/tools/ocr/text_detection.py,sha256=1DBxt54r3_HdEi93QynSIVta3rH3UpIvy799TPtDTtk,23825
@@ -348,8 +348,8 @@ alita_sdk/tools/zephyr_scale/api_wrapper.py,sha256=2M6yFoOmfH5BwxMwTLQO76yD0Ydfv
348
348
  alita_sdk/tools/zephyr_squad/__init__.py,sha256=0AI_j27xVO5Gk5HQMFrqPTd4uvuVTpiZUicBrdfEpKg,2796
349
349
  alita_sdk/tools/zephyr_squad/api_wrapper.py,sha256=kmw_xol8YIYFplBLWTqP_VKPRhL_1ItDD0_vXTe_UuI,14906
350
350
  alita_sdk/tools/zephyr_squad/zephyr_squad_cloud_client.py,sha256=R371waHsms4sllHCbijKYs90C-9Yu0sSR3N4SUfQOgU,5066
351
- alita_sdk-0.3.294.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
352
- alita_sdk-0.3.294.dist-info/METADATA,sha256=mLD2KHv1QpAm1Yebo7O-JDDhkR5NVeIT8o8ta1fdgxs,18897
353
- alita_sdk-0.3.294.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
354
- alita_sdk-0.3.294.dist-info/top_level.txt,sha256=0vJYy5p_jK6AwVb1aqXr7Kgqgk3WDtQ6t5C-XI9zkmg,10
355
- alita_sdk-0.3.294.dist-info/RECORD,,
351
+ alita_sdk-0.3.295.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
352
+ alita_sdk-0.3.295.dist-info/METADATA,sha256=pnABV9zyf6stskynwgcYUp0Do-5Whl6NG-SCpnQ02GU,18897
353
+ alita_sdk-0.3.295.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
354
+ alita_sdk-0.3.295.dist-info/top_level.txt,sha256=0vJYy5p_jK6AwVb1aqXr7Kgqgk3WDtQ6t5C-XI9zkmg,10
355
+ alita_sdk-0.3.295.dist-info/RECORD,,