alita-sdk 0.3.154__py3-none-any.whl → 0.3.155__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.
@@ -16,7 +16,6 @@ from langchain_core.prompts import MessagesPlaceholder
16
16
  from .constants import REACT_ADDON, REACT_VARS, XML_ADDON
17
17
  from .chat_message_template import Jinja2TemplatedChatMessagesTemplate
18
18
  from ..tools.echo import EchoTool
19
- from ..toolkits.tools import get_tools
20
19
  from langchain_core.tools import BaseTool, ToolException
21
20
 
22
21
  logger = logging.getLogger(__name__)
@@ -62,8 +61,11 @@ class Assistant:
62
61
  "Review toolkits configuration or use pipeline as master agent.")
63
62
 
64
63
  # configure memory store if memory tool is defined
65
- memory_tool = next((tool for tool in data['tools'] if tool['type'] == 'memory'), None)
66
- self._configure_store(memory_tool)
64
+ # memory_tool = next((tool for tool in data['tools'] if tool['type'] == 'memory'), None)
65
+ # self._configure_store(memory_tool)
66
+
67
+ # Lazy import to avoid circular dependency
68
+ from ..toolkits.tools import get_tools
67
69
  self.tools = get_tools(data['tools'], alita_client=alita, llm=self.client, memory_store=self.store)
68
70
  if app_type == "pipeline":
69
71
  self.prompt = data['instructions']
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: alita_sdk
3
- Version: 0.3.154
3
+ Version: 0.3.155
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>
6
6
  License-Expression: Apache-2.0
@@ -48,7 +48,7 @@ alita_sdk/runtime/clients/client.py,sha256=jbC_M72CybwZgFfMRL6paj-NmICrSuk1vVnVT
48
48
  alita_sdk/runtime/clients/datasource.py,sha256=HAZovoQN9jBg0_-lIlGBQzb4FJdczPhkHehAiVG3Wx0,1020
49
49
  alita_sdk/runtime/clients/prompt.py,sha256=li1RG9eBwgNK_Qf0qUaZ8QNTmsncFrAL2pv3kbxZRZg,1447
50
50
  alita_sdk/runtime/langchain/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
51
- alita_sdk/runtime/langchain/assistant.py,sha256=DjMgup0nfFe5jgNkC-xGgZPiAg7wiJ2qb3VN06n_fnE,7439
51
+ alita_sdk/runtime/langchain/assistant.py,sha256=1G4yBhBc-tXgqerujUVu5Z8T49m_7ov-7zYYsm-jGb4,7511
52
52
  alita_sdk/runtime/langchain/chat_message_template.py,sha256=kPz8W2BG6IMyITFDA5oeb5BxVRkHEVZhuiGl4MBZKdc,2176
53
53
  alita_sdk/runtime/langchain/constants.py,sha256=eHVJ_beJNTf1WJo4yq7KMK64fxsRvs3lKc34QCXSbpk,3319
54
54
  alita_sdk/runtime/langchain/indexer.py,sha256=0ENHy5EOhThnAiYFc7QAsaTNp9rr8hDV_hTK8ahbatk,37592
@@ -316,8 +316,8 @@ alita_sdk/tools/zephyr_enterprise/api_wrapper.py,sha256=Ir3zHljhbZQJRJJQOBzS_GL5
316
316
  alita_sdk/tools/zephyr_enterprise/zephyr_enterprise.py,sha256=hV9LIrYfJT6oYp-ZfQR0YHflqBFPsUw2Oc55HwK0H48,6809
317
317
  alita_sdk/tools/zephyr_scale/__init__.py,sha256=2NTcdrfkx4GSegqyXhsPLsEpc4FlACuDy85b0fk6cAo,4572
318
318
  alita_sdk/tools/zephyr_scale/api_wrapper.py,sha256=UHVQUVqcBc3SZvDfO78HSuBzwAsRw2cCDQa-xMOzndE,68663
319
- alita_sdk-0.3.154.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
320
- alita_sdk-0.3.154.dist-info/METADATA,sha256=6mzJR0_IeWi5sbSXoR5ysc_CBzo8GprlOedjcRwC-QI,18667
321
- alita_sdk-0.3.154.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
322
- alita_sdk-0.3.154.dist-info/top_level.txt,sha256=0vJYy5p_jK6AwVb1aqXr7Kgqgk3WDtQ6t5C-XI9zkmg,10
323
- alita_sdk-0.3.154.dist-info/RECORD,,
319
+ alita_sdk-0.3.155.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
320
+ alita_sdk-0.3.155.dist-info/METADATA,sha256=5dodz6UtudrPDsBzvEmGddB6E7Hc-qJ60v_qmrGTZtA,18667
321
+ alita_sdk-0.3.155.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
322
+ alita_sdk-0.3.155.dist-info/top_level.txt,sha256=0vJYy5p_jK6AwVb1aqXr7Kgqgk3WDtQ6t5C-XI9zkmg,10
323
+ alita_sdk-0.3.155.dist-info/RECORD,,