PraisonAI 2.2.4__cp313-cp313-manylinux_2_39_x86_64.whl → 2.2.6__cp313-cp313-manylinux_2_39_x86_64.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.
praisonai/cli.py CHANGED
@@ -147,7 +147,7 @@ class PraisonAI:
147
147
  self.framework = args.framework or self.framework
148
148
 
149
149
  if args.command:
150
- if args.command.startswith("tests.test"): # Argument used for testing purposes
150
+ if args.command.startswith("tests.test") or args.command.startswith("tests/test"): # Argument used for testing purposes
151
151
  print("test")
152
152
  return "test"
153
153
  else:
@@ -156,9 +156,7 @@ class PraisonAI:
156
156
  result = self.handle_direct_prompt(args.direct_prompt)
157
157
  print(result)
158
158
  return result
159
- else:
160
- # Default to agents.yaml if no command provided
161
- self.agent_file = "agents.yaml"
159
+ # If no command or direct_prompt, preserve agent_file from constructor (don't overwrite)
162
160
 
163
161
  if args.deploy:
164
162
  from .deploy import CloudDeployer
@@ -462,7 +460,7 @@ class PraisonAI:
462
460
 
463
461
  agent = PraisonAgent(**agent_config)
464
462
  result = agent.start(prompt)
465
- return ""
463
+ return result
466
464
  elif CREWAI_AVAILABLE:
467
465
  agent_config = {
468
466
  "name": "DirectAgent",
praisonai/deploy.py CHANGED
@@ -56,7 +56,7 @@ class CloudDeployer:
56
56
  file.write("FROM python:3.11-slim\n")
57
57
  file.write("WORKDIR /app\n")
58
58
  file.write("COPY . .\n")
59
- file.write("RUN pip install flask praisonai==2.2.4 gunicorn markdown\n")
59
+ file.write("RUN pip install flask praisonai==2.2.6 gunicorn markdown\n")
60
60
  file.write("EXPOSE 8080\n")
61
61
  file.write('CMD ["gunicorn", "-b", "0.0.0.0:8080", "api:app"]\n')
62
62
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: PraisonAI
3
- Version: 2.2.4
3
+ Version: 2.2.6
4
4
  Summary: PraisonAI is an AI Agents Framework with Self Reflection. PraisonAI application combines PraisonAI Agents, AutoGen, and CrewAI into a low-code solution for building and managing multi-agent LLM systems, focusing on simplicity, customisation, and efficient human-agent collaboration.
5
5
  Author: Mervin Praison
6
6
  Requires-Python: >=3.10,<3.13
@@ -4,8 +4,8 @@ praisonai/agents_generator.py,sha256=YxNxEwJ9NNnFMXZTDcTO7JjGGy6eXnaDmrd7YsxTZTg
4
4
  praisonai/api/call.py,sha256=krOfTCZM_bdbsNuWQ1PijzCHECkDvEi9jIvvZaDQUUU,11035
5
5
  praisonai/auto.py,sha256=uLDm8CU3L_3amZsd55yzf9RdBF1uW-BGSx7nl9ctNZ4,8680
6
6
  praisonai/chainlit_ui.py,sha256=bNR7s509lp0I9JlJNvwCZRUZosC64qdvlFCt8NmFamQ,12216
7
- praisonai/cli.py,sha256=o6gpIa4FlPi25F1Rk2cTHxSNpIDubme46qx0fPbqXZk,26058
8
- praisonai/deploy.py,sha256=uc6jpK2nDrWrFJ4GFmewV40q_q0LpQGUsGpuWNgremc,6027
7
+ praisonai/cli.py,sha256=1bIuILHlz9UliJ5cA0VnedeOyCGCoSkfGpUacIIFzWY,26082
8
+ praisonai/deploy.py,sha256=kukenQvvO_fmDopflGVVEch7hmBvVO0-iyzTUkrqphY,6027
9
9
  praisonai/inbuilt_tools/__init__.py,sha256=mZOEximj3zCyJHq9Lz0bGXhQpBsa_QR-R-yA9UKC3zI,565
10
10
  praisonai/inbuilt_tools/autogen_tools.py,sha256=kJdEv61BTYvdHOaURNEpBcWq8Rs-oC03loNFTIjT-ak,4687
11
11
  praisonai/inc/__init__.py,sha256=sPDlYBBwdk0VlWzaaM_lG0_LD07lS2HRGvPdxXJFiYg,62
@@ -84,8 +84,8 @@ praisonai/ui/sql_alchemy.py,sha256=fPLPBJlrgV1_sRugirbNDCunqxqFB-CjV9TvCThU4nU,2
84
84
  praisonai/ui/tools.md,sha256=Ad3YH_ZCLMWlz3mDXllQnQ_S5l55LWqLdcZSh-EXrHI,3956
85
85
  praisonai/upload_vision.py,sha256=lMpFn993UiYVJxRNZQTmcbPbEajQ5TFKCNGK1Icn_hg,5253
86
86
  praisonai/version.py,sha256=ugyuFliEqtAwQmH4sTlc16YXKYbFWDmfyk87fErB8-8,21
87
- praisonai-2.2.4.dist-info/LICENSE,sha256=kqvFysVlnFxYOu0HxCe2HlmZmJtdmNGOxWRRkT9TsWc,1035
88
- praisonai-2.2.4.dist-info/METADATA,sha256=v6cyyK2ltlhyvZlUE8V3JZADw7t6suRaKvC14NGnxys,22118
89
- praisonai-2.2.4.dist-info/WHEEL,sha256=dCzwOzx-VmbmLA5u8QpkARaxx3rsePBxa1nmZphhNQk,110
90
- praisonai-2.2.4.dist-info/entry_points.txt,sha256=I_xc6a6MNTTfLxYmAxe0rgey0G-_hbY07oFW-ZDnkw4,135
91
- praisonai-2.2.4.dist-info/RECORD,,
87
+ praisonai-2.2.6.dist-info/LICENSE,sha256=kqvFysVlnFxYOu0HxCe2HlmZmJtdmNGOxWRRkT9TsWc,1035
88
+ praisonai-2.2.6.dist-info/METADATA,sha256=uDg2HJc-uJs7BSiUJi6rrFyaN-3WiRSCcilIAxVbU6k,22118
89
+ praisonai-2.2.6.dist-info/WHEEL,sha256=dCzwOzx-VmbmLA5u8QpkARaxx3rsePBxa1nmZphhNQk,110
90
+ praisonai-2.2.6.dist-info/entry_points.txt,sha256=I_xc6a6MNTTfLxYmAxe0rgey0G-_hbY07oFW-ZDnkw4,135
91
+ praisonai-2.2.6.dist-info/RECORD,,