PraisonAI 2.1.1__cp313-cp313-manylinux_2_39_x86_64.whl → 2.1.5__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.

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.1.1 gunicorn markdown\n")
59
+ file.write("RUN pip install flask praisonai==2.1.5 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,4 +1,4 @@
1
- # Only try to import autogen_tools if either CrewAI or AutoGen is available
1
+ # Only try to import autogen_tools if either CrewAI or AG2 is available
2
2
  CREWAI_AVAILABLE = False
3
3
  AUTOGEN_AVAILABLE = False
4
4
  PRAISONAI_TOOLS_AVAILABLE = False
praisonai/ui/code.py CHANGED
@@ -100,7 +100,8 @@ async def start():
100
100
  )
101
101
  cl.user_session.set("settings", settings)
102
102
  await settings.send()
103
- gatherer = ContextGatherer()
103
+ repo_path_to_use = os.environ.get("PRAISONAI_CODE_REPO_PATH", ".")
104
+ gatherer = ContextGatherer(directory=repo_path_to_use)
104
105
  context, token_count, context_tree = gatherer.run()
105
106
  msg = cl.Message(content="""Token Count: {token_count},
106
107
  Files include: \n```bash\n{context_tree}\n"""
@@ -200,7 +201,8 @@ tools = [{
200
201
  async def main(message: cl.Message):
201
202
  model_name = load_setting("model_name") or os.getenv("MODEL_NAME") or "gpt-4o-mini"
202
203
  message_history = cl.user_session.get("message_history", [])
203
- gatherer = ContextGatherer()
204
+ repo_path_to_use = os.environ.get("PRAISONAI_CODE_REPO_PATH", ".")
205
+ gatherer = ContextGatherer(directory=repo_path_to_use)
204
206
  context, token_count, context_tree = gatherer.run()
205
207
  now = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
206
208
 
@@ -70,7 +70,7 @@ class SQLAlchemyDataLayer(BaseDataLayer):
70
70
  logger.info("SQLAlchemyDataLayer storage client initialized")
71
71
  else:
72
72
  self.storage_provider = None
73
- logger.warn(
73
+ logger.warning(
74
74
  "SQLAlchemyDataLayer storage client is not initialized and elements will not be persisted!"
75
75
  )
76
76
 
@@ -98,11 +98,11 @@ class SQLAlchemyDataLayer(BaseDataLayer):
98
98
  return result.rowcount
99
99
  except SQLAlchemyError as e:
100
100
  await session.rollback()
101
- logger.warn(f"An error occurred: {e}")
101
+ logger.warning(f"An error occurred: {e}")
102
102
  return None
103
103
  except Exception as e:
104
104
  await session.rollback()
105
- logger.warn(f"An unexpected error occurred: {e}")
105
+ logger.warning(f"An unexpected error occurred: {e}")
106
106
  return None
107
107
 
108
108
  async def get_current_timestamp(self) -> str:
@@ -456,7 +456,7 @@ class SQLAlchemyDataLayer(BaseDataLayer):
456
456
  logger.info(f"SQLAlchemy: create_element, element_id = {element.id}")
457
457
 
458
458
  if not self.storage_provider:
459
- logger.warn("SQLAlchemy: create_element error. No storage client!")
459
+ logger.warning("SQLAlchemy: create_element error. No storage client!")
460
460
  return
461
461
  if not element.for_id:
462
462
  return
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: PraisonAI
3
- Version: 2.1.1
3
+ Version: 2.1.5
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
@@ -28,16 +28,17 @@ Requires-Dist: aiosqlite (>=0.20.0) ; extra == "chat"
28
28
  Requires-Dist: aiosqlite (>=0.20.0) ; extra == "code"
29
29
  Requires-Dist: aiosqlite (>=0.20.0) ; extra == "realtime"
30
30
  Requires-Dist: aiosqlite (>=0.20.0) ; extra == "ui"
31
- Requires-Dist: chainlit (==2.0.3) ; extra == "chat"
32
- Requires-Dist: chainlit (==2.0.3) ; extra == "code"
33
- Requires-Dist: chainlit (==2.0.3) ; extra == "realtime"
34
- Requires-Dist: chainlit (==2.0.3) ; extra == "ui"
35
- Requires-Dist: crawl4ai (==0.3.4) ; extra == "chat"
36
- Requires-Dist: crawl4ai (==0.3.4) ; extra == "code"
37
- Requires-Dist: crawl4ai (==0.3.4) ; extra == "realtime"
31
+ Requires-Dist: chainlit (==2.5.5) ; extra == "chat"
32
+ Requires-Dist: chainlit (==2.5.5) ; extra == "code"
33
+ Requires-Dist: chainlit (==2.5.5) ; extra == "realtime"
34
+ Requires-Dist: chainlit (==2.5.5) ; extra == "ui"
35
+ Requires-Dist: crawl4ai (>=0.6.0) ; extra == "chat"
36
+ Requires-Dist: crawl4ai (>=0.6.0) ; extra == "code"
37
+ Requires-Dist: crawl4ai (>=0.6.0) ; extra == "realtime"
38
38
  Requires-Dist: crewai (>=0.32.0) ; extra == "crewai"
39
39
  Requires-Dist: crewai ; extra == "autogen"
40
40
  Requires-Dist: duckduckgo_search (>=6.3.0) ; extra == "realtime"
41
+ Requires-Dist: fastapi (>=0.115.0) ; extra == "api"
41
42
  Requires-Dist: fastapi (>=0.95.0) ; extra == "call"
42
43
  Requires-Dist: flaml[automl] (>=2.3.1) ; extra == "call"
43
44
  Requires-Dist: flask (>=3.0.0) ; extra == "api"
@@ -47,10 +48,10 @@ Requires-Dist: greenlet (>=3.0.3) ; extra == "code"
47
48
  Requires-Dist: greenlet (>=3.0.3) ; extra == "realtime"
48
49
  Requires-Dist: greenlet (>=3.0.3) ; extra == "ui"
49
50
  Requires-Dist: instructor (>=1.3.3)
50
- Requires-Dist: langchain-anthropic (>=0.1.13) ; extra == "anthropic"
51
- Requires-Dist: langchain-cohere (>=0.1.4) ; extra == "cohere"
52
- Requires-Dist: langchain-google-genai (>=1.0.4) ; extra == "google"
53
- Requires-Dist: langchain-openai (>=0.1.7) ; extra == "openai"
51
+ Requires-Dist: langchain-anthropic (>=0.3.0) ; extra == "anthropic"
52
+ Requires-Dist: langchain-cohere (>=0.3.0,<0.4.0) ; extra == "cohere"
53
+ Requires-Dist: langchain-google-genai (>=2.1.0) ; extra == "google"
54
+ Requires-Dist: langchain-openai (>=0.2.1,<0.3.0) ; extra == "openai"
54
55
  Requires-Dist: litellm (>=1.41.8) ; extra == "chat"
55
56
  Requires-Dist: litellm (>=1.41.8) ; extra == "code"
56
57
  Requires-Dist: litellm (>=1.41.8) ; extra == "realtime"
@@ -60,9 +61,9 @@ Requires-Dist: openai (>=1.54.0) ; extra == "call"
60
61
  Requires-Dist: playwright (>=1.47.0) ; extra == "chat"
61
62
  Requires-Dist: playwright (>=1.47.0) ; extra == "code"
62
63
  Requires-Dist: plotly (>=5.24.0) ; extra == "realtime"
63
- Requires-Dist: praisonai-tools (>=0.0.7) ; extra == "autogen"
64
- Requires-Dist: praisonai-tools (>=0.0.7) ; extra == "crewai"
65
- Requires-Dist: praisonaiagents (>=0.0.71)
64
+ Requires-Dist: praisonai-tools (>=0.0.15) ; extra == "autogen"
65
+ Requires-Dist: praisonai-tools (>=0.0.15) ; extra == "crewai"
66
+ Requires-Dist: praisonaiagents (>=0.0.81)
66
67
  Requires-Dist: pyautogen (>=0.2.19) ; extra == "autogen"
67
68
  Requires-Dist: pydantic (<=2.10.1) ; extra == "chat"
68
69
  Requires-Dist: pydantic (<=2.10.1) ; extra == "code"
@@ -82,6 +83,7 @@ Requires-Dist: tavily-python (==0.5.0) ; extra == "code"
82
83
  Requires-Dist: tavily-python (==0.5.0) ; extra == "realtime"
83
84
  Requires-Dist: twilio (>=7.0.0) ; extra == "call"
84
85
  Requires-Dist: uvicorn (>=0.20.0) ; extra == "call"
86
+ Requires-Dist: uvicorn (>=0.34.0) ; extra == "api"
85
87
  Requires-Dist: websockets (>=12.0) ; extra == "call"
86
88
  Requires-Dist: websockets (>=12.0) ; extra == "realtime"
87
89
  Requires-Dist: yfinance (>=0.2.44) ; extra == "realtime"
@@ -111,7 +113,7 @@ Description-Content-Type: text/markdown
111
113
 
112
114
  </div>
113
115
 
114
- PraisonAI is a production-ready Multi-AI Agents framework with self-reflection, designed to create AI Agents to automate and solve problems ranging from simple tasks to complex challenges. By integrating PraisonAI Agents, AutoGen, and CrewAI into a low-code solution, it streamlines the building and management of multi-agent LLM systems, emphasising simplicity, customisation, and effective human-agent collaboration.
116
+ PraisonAI is a production-ready Multi-AI Agents framework with self-reflection, designed to create AI Agents to automate and solve problems ranging from simple tasks to complex challenges. By integrating PraisonAI Agents, AG2 (Formerly AutoGen), and CrewAI into a low-code solution, it streamlines the building and management of multi-agent LLM systems, emphasising simplicity, customisation, and effective human-agent collaboration.
115
117
 
116
118
  <div align="center">
117
119
  <a href="https://docs.praison.ai">
@@ -639,7 +641,7 @@ uv pip install -r pyproject.toml --extra "crewai,autogen"
639
641
 
640
642
  ## Other Features
641
643
 
642
- - 🔄 Use CrewAI or AutoGen Framework
644
+ - 🔄 Use CrewAI or AG2 (Formerly AutoGen) Framework
643
645
  - 💻 Chat with ENTIRE Codebase
644
646
  - 🎨 Interactive UIs
645
647
  - 📄 YAML-based Configuration
@@ -5,8 +5,8 @@ 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
7
  praisonai/cli.py,sha256=hxGPiX8-LZanu2jiwBXIkMPm8Kk0Tt3LwDclLkUt0iY,26051
8
- praisonai/deploy.py,sha256=UQnMFGw4X0kSIX3j2zVpHzzcWF_jouum7xPEpXIYvtE,6027
9
- praisonai/inbuilt_tools/__init__.py,sha256=fai4ZJIKz7-iOnGZv5jJX0wmT77PKa4x2jqyaJddKFA,569
8
+ praisonai/deploy.py,sha256=u_cqTwMMlOuXQMhD2akMpl7nEVfgUtzBoyesJFCQxwc,6027
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
12
12
  praisonai/inc/config.py,sha256=up2-841ruK7MCUUT3xkWBA5S6WsY0sFODNfcT6Q4Wms,3333
@@ -39,7 +39,7 @@ praisonai/ui/README.md,sha256=QG9yucvBieVjCjWFzu6hL9xNtYllkoqyJ_q1b0YYAco,1124
39
39
  praisonai/ui/agents.py,sha256=1qsWE2yCaQKhuc-1uLHdMfZJeOXzBtp4pe5q7bk2EuA,32813
40
40
  praisonai/ui/callbacks.py,sha256=V4_-GjxmjDFmugUZGfQHKtNSysx7rT6i1UblbM_8lIM,1968
41
41
  praisonai/ui/chat.py,sha256=rlYwhTd3giBuvtK4Yc9kf6N9jfVT0VrZ-mLIzhANGiQ,13565
42
- praisonai/ui/code.py,sha256=GD_xQTo7qzpOM98tu4MOPsviJdXU__Ta3JIfsjoRe6U,15797
42
+ praisonai/ui/code.py,sha256=nrknYLOkWxdjwkXrLHgOEXFaO9MrKi5OZ3kb2XuIfOc,15991
43
43
  praisonai/ui/colab.py,sha256=A2NceDVazMy53mIpp-NIn5w3y8aQKwQu5LmHTepVwlo,19584
44
44
  praisonai/ui/colab_chainlit.py,sha256=wrB1O0ttRlmOH8aMxU8QdGpse-X54U87ZcEEA3R1aFg,2432
45
45
  praisonai/ui/components/aicoder.py,sha256=Xh95RSEJCel5mEGic4vdtzyNpHNULF3ymft9nbwglXY,11155
@@ -80,12 +80,12 @@ praisonai/ui/realtime.py,sha256=aVK-lbA57J9KHo3Lrknk4aaO1V1tRkiKXr_01zWrl30,1784
80
80
  praisonai/ui/realtimeclient/__init__.py,sha256=zA2xa7rBUSw77wFkndJMQNNPqdH6ywQ3uf4WSYHjNfs,27513
81
81
  praisonai/ui/realtimeclient/realtimedocs.txt,sha256=hmgd8Uwy2SkjSndyyF_-ZOaNxiyHwGaQLGc67DvV-sI,26395
82
82
  praisonai/ui/realtimeclient/tools.py,sha256=IJOYwVOBW5Ocn5_iV9pFkmSKR3WU3YpX3kwF0I3jikQ,7855
83
- praisonai/ui/sql_alchemy.py,sha256=oekZOXlRGMJ2SuC-lmgMMIzAmvbMg2DWeGTSpOzbVBM,29674
83
+ praisonai/ui/sql_alchemy.py,sha256=fPLPBJlrgV1_sRugirbNDCunqxqFB-CjV9TvCThU4nU,29686
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.1.1.dist-info/LICENSE,sha256=kqvFysVlnFxYOu0HxCe2HlmZmJtdmNGOxWRRkT9TsWc,1035
88
- praisonai-2.1.1.dist-info/METADATA,sha256=axJ18N0qUVI2QikcSg7KN449q2_kXPieWVwLOi1BX7Y,21970
89
- praisonai-2.1.1.dist-info/WHEEL,sha256=6BXyaPwiT4T2-RByR9zRq7SxK-VJwaK4a8CI_5F857w,110
90
- praisonai-2.1.1.dist-info/entry_points.txt,sha256=I_xc6a6MNTTfLxYmAxe0rgey0G-_hbY07oFW-ZDnkw4,135
91
- praisonai-2.1.1.dist-info/RECORD,,
87
+ praisonai-2.1.5.dist-info/LICENSE,sha256=kqvFysVlnFxYOu0HxCe2HlmZmJtdmNGOxWRRkT9TsWc,1035
88
+ praisonai-2.1.5.dist-info/METADATA,sha256=s3TfJac3D6HPMTsOURaYDXXqKLKxm-lWq3DD1mMAMGU,22118
89
+ praisonai-2.1.5.dist-info/WHEEL,sha256=dCzwOzx-VmbmLA5u8QpkARaxx3rsePBxa1nmZphhNQk,110
90
+ praisonai-2.1.5.dist-info/entry_points.txt,sha256=I_xc6a6MNTTfLxYmAxe0rgey0G-_hbY07oFW-ZDnkw4,135
91
+ praisonai-2.1.5.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: poetry-core 2.1.2
2
+ Generator: poetry-core 2.1.3
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp313-cp313-manylinux_2_39_x86_64