PraisonAI 2.0.27__cp312-cp312-manylinux_2_39_x86_64.whl → 2.0.29__cp312-cp312-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.

Potentially problematic release.


This version of PraisonAI might be problematic. Click here for more details.

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.0.27 gunicorn markdown\n")
59
+ file.write("RUN pip install flask praisonai==2.0.29 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
 
praisonai/ui/agents.py CHANGED
@@ -219,7 +219,6 @@ def load_tools_from_tools_py():
219
219
  tools_dict = {}
220
220
  try:
221
221
  spec = importlib.util.spec_from_file_location("tools", "tools.py")
222
- logger.info(f"Spec: {spec}")
223
222
  if spec is None:
224
223
  logger.info("tools.py not found in current directory")
225
224
  return tools_dict
@@ -738,11 +737,9 @@ async def on_chat_resume(thread: ThreadDict):
738
737
  async def main(message: cl.Message):
739
738
  try:
740
739
  logger.info(f"User message: {message.content}")
741
- await cl.Message(
742
- content=f"🔄 Processing your request: {message.content}...",
743
- author="System"
744
- ).send()
745
-
740
+ msg = cl.Message(content="")
741
+ await msg.stream_token(f"🔄 Processing your request: {message.content}...")
742
+
746
743
  # Run PraisonAI
747
744
  result = await ui_run_praisonai(config, message.content, tools_dict)
748
745
 
@@ -750,7 +747,7 @@ async def main(message: cl.Message):
750
747
  message_history.append({"role": "user", "content": message.content})
751
748
  message_history.append({"role": "assistant", "content": str(result)})
752
749
  cl.user_session.set("message_history", message_history)
753
-
750
+ await msg.send()
754
751
  except Exception as e:
755
752
  error_msg = f"Error running PraisonAI agents: {str(e)}"
756
753
  logger.error(error_msg, exc_info=True)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: PraisonAI
3
- Version: 2.0.27
3
+ Version: 2.0.29
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
@@ -61,7 +61,7 @@ Requires-Dist: playwright (>=1.47.0) ; extra == "code"
61
61
  Requires-Dist: plotly (>=5.24.0) ; extra == "realtime"
62
62
  Requires-Dist: praisonai-tools (>=0.0.7) ; extra == "autogen"
63
63
  Requires-Dist: praisonai-tools (>=0.0.7) ; extra == "crewai"
64
- Requires-Dist: praisonaiagents (>=0.0.20)
64
+ Requires-Dist: praisonaiagents (>=0.0.21)
65
65
  Requires-Dist: pyautogen (>=0.2.19) ; extra == "autogen"
66
66
  Requires-Dist: pydantic (<=2.10.1) ; extra == "chat"
67
67
  Requires-Dist: pydantic (<=2.10.1) ; extra == "code"
@@ -5,7 +5,7 @@ praisonai/api/call.py,sha256=iHdAlgIH_oTsEbjaGGu1Jjo6DTfMR-SfFdtSxnOLCeY,11032
5
5
  praisonai/auto.py,sha256=uLDm8CU3L_3amZsd55yzf9RdBF1uW-BGSx7nl9ctNZ4,8680
6
6
  praisonai/chainlit_ui.py,sha256=bNR7s509lp0I9JlJNvwCZRUZosC64qdvlFCt8NmFamQ,12216
7
7
  praisonai/cli.py,sha256=M69ji9gQGzWVLewNhTwH5kYZuj63TzlcishxoRx18ug,21210
8
- praisonai/deploy.py,sha256=31iwBcknlJLz0UcywPaGJZp4FkW1w6qcAAJOwY5KP9c,6028
8
+ praisonai/deploy.py,sha256=9ruIlV5u0TPWeFwVMYXb72gDlGy9S_zN6LdMUZWu6fU,6028
9
9
  praisonai/inbuilt_tools/__init__.py,sha256=fai4ZJIKz7-iOnGZv5jJX0wmT77PKa4x2jqyaJddKFA,569
10
10
  praisonai/inbuilt_tools/autogen_tools.py,sha256=kJdEv61BTYvdHOaURNEpBcWq8Rs-oC03loNFTIjT-ak,4687
11
11
  praisonai/inc/__init__.py,sha256=sPDlYBBwdk0VlWzaaM_lG0_LD07lS2HRGvPdxXJFiYg,62
@@ -35,7 +35,7 @@ praisonai/setup.py,sha256=0jHgKnIPCtBZiGYaYyTz3PzrJI6nBy55VXk2UctXlDo,373
35
35
  praisonai/test.py,sha256=OL-wesjA5JTohr8rtr6kWoaS4ImkJg2l0GXJ-dUUfRU,4090
36
36
  praisonai/train.py,sha256=DvORlrwKOD-2v4r_z84eV3LsfzpNs-WnPKb5cQB3_t4,11071
37
37
  praisonai/ui/README.md,sha256=QG9yucvBieVjCjWFzu6hL9xNtYllkoqyJ_q1b0YYAco,1124
38
- praisonai/ui/agents.py,sha256=bLzer5ivtwr1iol60Sb77Zu36mBrEkeYKy0UYjYdwiU,32841
38
+ praisonai/ui/agents.py,sha256=1qsWE2yCaQKhuc-1uLHdMfZJeOXzBtp4pe5q7bk2EuA,32813
39
39
  praisonai/ui/callbacks.py,sha256=V4_-GjxmjDFmugUZGfQHKtNSysx7rT6i1UblbM_8lIM,1968
40
40
  praisonai/ui/chat.py,sha256=rlYwhTd3giBuvtK4Yc9kf6N9jfVT0VrZ-mLIzhANGiQ,13565
41
41
  praisonai/ui/code.py,sha256=GD_xQTo7qzpOM98tu4MOPsviJdXU__Ta3JIfsjoRe6U,15797
@@ -82,8 +82,8 @@ praisonai/ui/realtimeclient/tools.py,sha256=IJOYwVOBW5Ocn5_iV9pFkmSKR3WU3YpX3kwF
82
82
  praisonai/ui/sql_alchemy.py,sha256=cfyL9uFfuizKFvW0aZfUBlJWPQYI-YBi1v4vxlkb1BQ,29615
83
83
  praisonai/ui/tools.md,sha256=Ad3YH_ZCLMWlz3mDXllQnQ_S5l55LWqLdcZSh-EXrHI,3956
84
84
  praisonai/version.py,sha256=ugyuFliEqtAwQmH4sTlc16YXKYbFWDmfyk87fErB8-8,21
85
- praisonai-2.0.27.dist-info/LICENSE,sha256=kqvFysVlnFxYOu0HxCe2HlmZmJtdmNGOxWRRkT9TsWc,1035
86
- praisonai-2.0.27.dist-info/METADATA,sha256=KBht1TLRK5J3jCtte9Qd8zC6UWb9Cgs2WYo-yoaJWI8,21774
87
- praisonai-2.0.27.dist-info/WHEEL,sha256=rqU-pzVJ6on7cnU-SP20blBtY1yM7u0ejCbKCZ5K36I,110
88
- praisonai-2.0.27.dist-info/entry_points.txt,sha256=I_xc6a6MNTTfLxYmAxe0rgey0G-_hbY07oFW-ZDnkw4,135
89
- praisonai-2.0.27.dist-info/RECORD,,
85
+ praisonai-2.0.29.dist-info/LICENSE,sha256=kqvFysVlnFxYOu0HxCe2HlmZmJtdmNGOxWRRkT9TsWc,1035
86
+ praisonai-2.0.29.dist-info/METADATA,sha256=ydUk4vtY6ZMTHEO2TS-XAZn9StIPEANbapWzqwetcRo,21774
87
+ praisonai-2.0.29.dist-info/WHEEL,sha256=rqU-pzVJ6on7cnU-SP20blBtY1yM7u0ejCbKCZ5K36I,110
88
+ praisonai-2.0.29.dist-info/entry_points.txt,sha256=I_xc6a6MNTTfLxYmAxe0rgey0G-_hbY07oFW-ZDnkw4,135
89
+ praisonai-2.0.29.dist-info/RECORD,,