open-swarm 0.1.1745017234__py3-none-any.whl → 0.1.1745019399__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.
- {open_swarm-0.1.1745017234.dist-info → open_swarm-0.1.1745019399.dist-info}/METADATA +1 -1
- {open_swarm-0.1.1745017234.dist-info → open_swarm-0.1.1745019399.dist-info}/RECORD +6 -6
- swarm/blueprints/chatbot/blueprint_chatbot.py +11 -0
- {open_swarm-0.1.1745017234.dist-info → open_swarm-0.1.1745019399.dist-info}/WHEEL +0 -0
- {open_swarm-0.1.1745017234.dist-info → open_swarm-0.1.1745019399.dist-info}/entry_points.txt +0 -0
- {open_swarm-0.1.1745017234.dist-info → open_swarm-0.1.1745019399.dist-info}/licenses/LICENSE +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: open-swarm
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.1745019399
|
4
4
|
Summary: Open Swarm: Orchestrating AI Agent Swarms with Django
|
5
5
|
Project-URL: Homepage, https://github.com/yourusername/open-swarm
|
6
6
|
Project-URL: Documentation, https://github.com/yourusername/open-swarm/blob/main/README.md
|
@@ -14,7 +14,7 @@ swarm/util.py,sha256=G4x2hXopHhB7IdGCkUXGoykYWyiICnjxg7wcr-WqL8I,4644
|
|
14
14
|
swarm/wsgi.py,sha256=REM_u4HpMCkO0ddrOUXgtY-ITL-VTbRB1-WHvFJAtAU,408
|
15
15
|
swarm/agent/__init__.py,sha256=YESGu_UXEBxrlQwghodUMN0vmXZDwWMU7DclCUvoklA,104
|
16
16
|
swarm/blueprints/README.md,sha256=tsngbSB9N0tILcz_m1OGAjyKZQYlGTN-i5e5asq1GbE,8478
|
17
|
-
swarm/blueprints/chatbot/blueprint_chatbot.py,sha256=
|
17
|
+
swarm/blueprints/chatbot/blueprint_chatbot.py,sha256=ENw5KbkDDFuPELvIV6X85qZMdYfEqUyyUQ8MZ-iXB5o,8393
|
18
18
|
swarm/blueprints/chatbot/templates/chatbot/chatbot.html,sha256=REFnqNg0EHsXxAUfaCJe1YgOKiV_umBXuC6y8veF5CU,1568
|
19
19
|
swarm/blueprints/codey/blueprint_codey.py,sha256=aArwz-nF29dzJM9IFwhdGKq6jRABpVermtI_H5O5xXI,14518
|
20
20
|
swarm/blueprints/digitalbutlers/blueprint_digitalbutlers.py,sha256=sYjbkD7esHrttiRAhd5vqx1_DCtCSHFsMgEXqStsSsc,19088
|
@@ -257,8 +257,8 @@ swarm/views/message_views.py,sha256=sDUnXyqKXC8WwIIMAlWf00s2_a2T9c75Na5FvYMJwBM,
|
|
257
257
|
swarm/views/model_views.py,sha256=aAbU4AZmrOTaPeKMWtoKK7FPYHdaN3Zbx55JfKzYTRY,2937
|
258
258
|
swarm/views/utils.py,sha256=8Usc0g0L0NPegNAyY20tJBNBy-JLwODf4VmxV0yUtpw,3627
|
259
259
|
swarm/views/web_views.py,sha256=T1CKe-Nyv1C8aDt6QFTGWo_dkH7ojWAvS_QW9mZnZp0,7371
|
260
|
-
open_swarm-0.1.
|
261
|
-
open_swarm-0.1.
|
262
|
-
open_swarm-0.1.
|
263
|
-
open_swarm-0.1.
|
264
|
-
open_swarm-0.1.
|
260
|
+
open_swarm-0.1.1745019399.dist-info/METADATA,sha256=AHGMqpj3aCbyIhQNPunr45p9P_H9i9paZwqt1lnSy8Q,22542
|
261
|
+
open_swarm-0.1.1745019399.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
262
|
+
open_swarm-0.1.1745019399.dist-info/entry_points.txt,sha256=fo28d0_zJrytRsh8QqkdlWQT_9lyAwYUx1WuSTDI3HM,177
|
263
|
+
open_swarm-0.1.1745019399.dist-info/licenses/LICENSE,sha256=BU9bwRlnOt_JDIb6OT55Q4leLZx9RArDLTFnlDIrBEI,1062
|
264
|
+
open_swarm-0.1.1745019399.dist-info/RECORD,,
|
@@ -7,6 +7,12 @@ import sys
|
|
7
7
|
from typing import Dict, Any, List, ClassVar, Optional
|
8
8
|
import argparse
|
9
9
|
|
10
|
+
# Set logging to WARNING by default unless SWARM_DEBUG=1
|
11
|
+
if not os.environ.get("SWARM_DEBUG"):
|
12
|
+
logging.basicConfig(level=logging.WARNING)
|
13
|
+
else:
|
14
|
+
logging.basicConfig(level=logging.DEBUG)
|
15
|
+
|
10
16
|
# Set logging to WARNING by default unless SWARM_DEBUG=1
|
11
17
|
if not os.environ.get("SWARM_DEBUG"):
|
12
18
|
logging.basicConfig(level=logging.WARNING)
|
@@ -145,6 +151,7 @@ if __name__ == "__main__":
|
|
145
151
|
src_path = os.path.join(project_root, 'src')
|
146
152
|
if src_path not in sys.path:
|
147
153
|
sys.path.insert(0, src_path)
|
154
|
+
<<<<<<< HEAD
|
148
155
|
parser = argparse.ArgumentParser(description='Chatbot Blueprint Runner')
|
149
156
|
parser.add_argument('instruction', nargs=argparse.REMAINDER, help='Instruction for Chatbot to process (all args after -- are joined as the prompt)')
|
150
157
|
args = parser.parse_args()
|
@@ -153,6 +160,10 @@ if __name__ == "__main__":
|
|
153
160
|
instruction_args = instruction_args[1:]
|
154
161
|
instruction = ' '.join(instruction_args).strip() if instruction_args else None
|
155
162
|
if instruction:
|
163
|
+
=======
|
164
|
+
if '--instruction' in sys.argv:
|
165
|
+
instruction = sys.argv[sys.argv.index('--instruction') + 1]
|
166
|
+
>>>>>>> e72a556 (fix(chatbot): clean CLI output, suppress errors, print only assistant response)
|
156
167
|
blueprint = ChatbotBlueprint(blueprint_id="chatbot")
|
157
168
|
async def runner():
|
158
169
|
async for chunk in blueprint._run_non_interactive(instruction):
|
File without changes
|
{open_swarm-0.1.1745017234.dist-info → open_swarm-0.1.1745019399.dist-info}/entry_points.txt
RENAMED
File without changes
|
{open_swarm-0.1.1745017234.dist-info → open_swarm-0.1.1745019399.dist-info}/licenses/LICENSE
RENAMED
File without changes
|