swarms 7.8.7__py3-none-any.whl → 7.8.8__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.
- swarms/structs/agent.py +3 -3
- {swarms-7.8.7.dist-info → swarms-7.8.8.dist-info}/METADATA +1 -1
- {swarms-7.8.7.dist-info → swarms-7.8.8.dist-info}/RECORD +6 -6
- {swarms-7.8.7.dist-info → swarms-7.8.8.dist-info}/LICENSE +0 -0
- {swarms-7.8.7.dist-info → swarms-7.8.8.dist-info}/WHEEL +0 -0
- {swarms-7.8.7.dist-info → swarms-7.8.8.dist-info}/entry_points.txt +0 -0
swarms/structs/agent.py
CHANGED
@@ -417,7 +417,7 @@ class Agent:
|
|
417
417
|
llm_base_url: Optional[str] = None,
|
418
418
|
llm_api_key: Optional[str] = None,
|
419
419
|
rag_config: Optional[RAGConfig] = None,
|
420
|
-
|
420
|
+
tool_call_summary: bool = False,
|
421
421
|
*args,
|
422
422
|
**kwargs,
|
423
423
|
):
|
@@ -549,7 +549,7 @@ class Agent:
|
|
549
549
|
self.llm_base_url = llm_base_url
|
550
550
|
self.llm_api_key = llm_api_key
|
551
551
|
self.rag_config = rag_config
|
552
|
-
self.
|
552
|
+
self.tool_call_summary = tool_call_summary
|
553
553
|
|
554
554
|
# self.short_memory = self.short_memory_init()
|
555
555
|
|
@@ -2818,7 +2818,7 @@ class Agent:
|
|
2818
2818
|
# Now run the LLM again without tools - create a temporary LLM instance
|
2819
2819
|
# instead of modifying the cached one
|
2820
2820
|
# Create a temporary LLM instance without tools for the follow-up call
|
2821
|
-
if self.
|
2821
|
+
if self.tool_call_summary is True:
|
2822
2822
|
temp_llm = self.temp_llm_instance_for_tool_summary()
|
2823
2823
|
|
2824
2824
|
tool_response = temp_llm.run(
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: swarms
|
3
|
-
Version: 7.8.
|
3
|
+
Version: 7.8.8
|
4
4
|
Summary: Swarms - TGSC
|
5
5
|
License: MIT
|
6
6
|
Keywords: artificial intelligence,deep learning,optimizers,Prompt Engineering,swarms,agents,llms,transformers,multi-agent,swarms of agents,Enterprise-Grade Agents,Production-Grade Agents,Agents,Multi-Grade-Agents,Swarms,Transformers,LLMs,Prompt Engineering,Agents,Generative Agents,Generative AI,Agent Marketplace,Agent Store,quant,finance,algorithmic trading,portfolio optimization,risk management,financial modeling,machine learning for finance,natural language processing for finance
|
@@ -105,7 +105,7 @@ swarms/schemas/mcp_schemas.py,sha256=XZJ4HyiY_cv8Gvj-53ddjzXuqT9hBU2f0cHbhIKs_jY
|
|
105
105
|
swarms/schemas/swarms_api_schemas.py,sha256=uKqleW_7hNpqHi06yoba9jS2i9yzZp-SBV944MnkN68,6233
|
106
106
|
swarms/schemas/tool_schema_base_model.py,sha256=0biTGIoibsPPP3fOrkC6WvNU5vXaalyccVKC1fpO_eg,1409
|
107
107
|
swarms/structs/__init__.py,sha256=XbUK6MSivL9qHNFlcoGcAVRYPupQssD3dG_-yAqrycw,4345
|
108
|
-
swarms/structs/agent.py,sha256=
|
108
|
+
swarms/structs/agent.py,sha256=akdE1J244PrNiYYwR1sF9Mh3kPM0DeQiGXwxlViyozU,102854
|
109
109
|
swarms/structs/agent_builder.py,sha256=tYNpfO4_8cgfMHfgA5DAOWffHnt70p6CLt59esqfVCY,12133
|
110
110
|
swarms/structs/agent_rag_handler.py,sha256=g17YRrNmf16TLvyFCCcsitVk3d-QNZmck_XYmjSN_YM,21372
|
111
111
|
swarms/structs/agent_registry.py,sha256=il507cO1NF-d4ChyANVLuWrN8bXsEAi8_7bLJ_sTU6A,12112
|
@@ -205,8 +205,8 @@ swarms/utils/str_to_dict.py,sha256=T3Jsdjz87WIlkSo7jAW6BB80sv0Ns49WT1qXlOrdEoE,8
|
|
205
205
|
swarms/utils/try_except_wrapper.py,sha256=uvDZDZJcH986EF0Ej6zZBLcqHJ58NHizPsAH5olrE7Q,3919
|
206
206
|
swarms/utils/vllm_wrapper.py,sha256=sNkm4EbeMrqqmHidnvq5zTnofQAaARy3HIrNBu11lKs,5072
|
207
207
|
swarms/utils/xml_utils.py,sha256=D4nEdo1nkHqSoTKrWylXBXjcHFhGaOYvvfGNQQoYV5o,2514
|
208
|
-
swarms-7.8.
|
209
|
-
swarms-7.8.
|
210
|
-
swarms-7.8.
|
211
|
-
swarms-7.8.
|
212
|
-
swarms-7.8.
|
208
|
+
swarms-7.8.8.dist-info/LICENSE,sha256=jwRtEmTWjLrEsvFB6QFdYs2cEeZPRMdj-UMOFkPF8_0,11363
|
209
|
+
swarms-7.8.8.dist-info/METADATA,sha256=zQKhWwHPdmZCUaXN5R1ukE4DLQSJ5KMNuPYkqC-OUIM,94363
|
210
|
+
swarms-7.8.8.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
211
|
+
swarms-7.8.8.dist-info/entry_points.txt,sha256=2K0rTtfO1X1WaO-waJlXIKw5Voa_EpAL_yU0HXE2Jgc,47
|
212
|
+
swarms-7.8.8.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|