PraisonAI 0.0.64__cp312-cp312-manylinux_2_35_x86_64.whl → 0.0.65__cp312-cp312-manylinux_2_35_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/cli.py CHANGED
@@ -286,10 +286,12 @@ class PraisonAI:
286
286
  if CHAINLIT_AVAILABLE:
287
287
  import praisonai
288
288
  os.environ["CHAINLIT_PORT"] = "8084"
289
+ root_path = os.path.join(os.path.expanduser("~"), ".praison")
290
+ os.environ["CHAINLIT_APP_ROOT"] = root_path
289
291
  public_folder = os.path.join(os.path.dirname(praisonai.__file__), 'public')
290
- if not os.path.exists("public"): # Check if the folder exists in the current directory
292
+ if not os.path.exists(os.path.join(root_path, "public")): # Check if the folder exists in the current directory
291
293
  if os.path.exists(public_folder):
292
- shutil.copytree(public_folder, 'public', dirs_exist_ok=True)
294
+ shutil.copytree(public_folder, os.path.join(root_path, "public"), dirs_exist_ok=True)
293
295
  logging.info("Public folder copied successfully!")
294
296
  else:
295
297
  logging.info("Public folder not found in the package.")
@@ -314,10 +316,12 @@ class PraisonAI:
314
316
  if CHAINLIT_AVAILABLE:
315
317
  import praisonai
316
318
  os.environ["CHAINLIT_PORT"] = "8086"
317
- public_folder = os.path.join(os.path.dirname(praisonai.__file__), 'public')
318
- if not os.path.exists("public"): # Check if the folder exists in the current directory
319
+ root_path = os.path.join(os.path.expanduser("~"), ".praison")
320
+ os.environ["CHAINLIT_APP_ROOT"] = root_path
321
+ public_folder = os.path.join(os.path.dirname(__file__), 'public')
322
+ if not os.path.exists(os.path.join(root_path, "public")): # Check if the folder exists in the current directory
319
323
  if os.path.exists(public_folder):
320
- shutil.copytree(public_folder, 'public', dirs_exist_ok=True)
324
+ shutil.copytree(public_folder, os.path.join(root_path, "public"), dirs_exist_ok=True)
321
325
  logging.info("Public folder copied successfully!")
322
326
  else:
323
327
  logging.info("Public folder not found in the package.")
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==0.0.64 gunicorn markdown\n")
59
+ file.write("RUN pip install flask praisonai==0.0.65 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.1
2
2
  Name: PraisonAI
3
- Version: 0.0.64
3
+ Version: 0.0.65
4
4
  Summary: PraisonAI application combines AutoGen and CrewAI or similar frameworks into a low-code solution for building and managing multi-agent LLM systems, focusing on simplicity, customization, and efficient human-agent collaboration.
5
5
  Author: Mervin Praison
6
6
  Requires-Python: >=3.10,<3.13
@@ -21,7 +21,7 @@ Provides-Extra: train
21
21
  Provides-Extra: ui
22
22
  Requires-Dist: agentops (>=0.2.6) ; extra == "agentops"
23
23
  Requires-Dist: aiosqlite (>=0.20.0) ; extra == "chat" or extra == "code"
24
- Requires-Dist: chainlit (>=1.1.301,<2.0.0) ; extra == "ui" or extra == "chat" or extra == "code"
24
+ Requires-Dist: chainlit (>=1.1.404,<2.0.0) ; extra == "ui" or extra == "chat" or extra == "code"
25
25
  Requires-Dist: crewai (>=0.32.0)
26
26
  Requires-Dist: flask (>=3.0.0) ; extra == "api"
27
27
  Requires-Dist: gradio (>=4.26.0) ; extra == "gradio"
@@ -3,8 +3,8 @@ praisonai/__main__.py,sha256=MVgsjMThjBexHt4nhd760JCqvP4x0IQcwo8kULOK4FQ,144
3
3
  praisonai/agents_generator.py,sha256=8d1WRbubvEkBrW1HZ7_xnGyqgJi0yxmXa3MgTIqef1c,19127
4
4
  praisonai/auto.py,sha256=9spTXqj47Hmmqv5QHRYE_RzSVHH_KoPbaZjskUj2UcE,7895
5
5
  praisonai/chainlit_ui.py,sha256=bNR7s509lp0I9JlJNvwCZRUZosC64qdvlFCt8NmFamQ,12216
6
- praisonai/cli.py,sha256=ZDQF9OXgaquu_89cLc-jsx5D9zWxYg4ChPhlVv66drk,18047
7
- praisonai/deploy.py,sha256=8eoDMlgK7klsNEr1T6kyTsmuRI90wUFHMi-cgmDNVsI,6028
6
+ praisonai/cli.py,sha256=Bnh7tNtcJwvtyJLLGxCCtdWIuJgJdwUjZNxZYvZjW_w,18397
7
+ praisonai/deploy.py,sha256=vu1hl0sqbj8v6aoUh7bfNT_OOY1BhKqOUE7nRdC6vD4,6028
8
8
  praisonai/inbuilt_tools/__init__.py,sha256=mUKnbL6Gram9c9f2m8wJwEzURBLmPEOcHzwySBH89YA,74
9
9
  praisonai/inbuilt_tools/autogen_tools.py,sha256=svYkM2N7DVFvbiwgoAS7U_MqTOD8rHf8VD3BaFUV5_Y,14907
10
10
  praisonai/inc/__init__.py,sha256=sPDlYBBwdk0VlWzaaM_lG0_LD07lS2HRGvPdxXJFiYg,62
@@ -41,8 +41,8 @@ praisonai/ui/public/movie.svg,sha256=aJ2EQ8vXZusVsF2SeuAVxP4RFJzQ14T26ejrGYdBgzk
41
41
  praisonai/ui/public/thriller.svg,sha256=2dYY72EcgbEyTxS4QzjAm37Y4srtPWEW4vCMFki98ZI,3163
42
42
  praisonai/ui/sql_alchemy.py,sha256=HsyeRq-G9qbQobHWpTJHHKQiT4FvYw_7iuv-2PNh0IU,27419
43
43
  praisonai/version.py,sha256=ugyuFliEqtAwQmH4sTlc16YXKYbFWDmfyk87fErB8-8,21
44
- praisonai-0.0.64.dist-info/LICENSE,sha256=kqvFysVlnFxYOu0HxCe2HlmZmJtdmNGOxWRRkT9TsWc,1035
45
- praisonai-0.0.64.dist-info/METADATA,sha256=bA_r7YzM5exBiLdr1CGXBpT7xgZ8UMIvYuUF4cHz-zQ,11406
46
- praisonai-0.0.64.dist-info/WHEEL,sha256=HBsDV7Hj4OTiS1GX6ua7iQXUQTB9UHftbBxr7Q8Xm9c,110
47
- praisonai-0.0.64.dist-info/entry_points.txt,sha256=jB078LEGLY3Ky_indhclomRIVVpXrPSksHjJ-tcBZ-o,133
48
- praisonai-0.0.64.dist-info/RECORD,,
44
+ praisonai-0.0.65.dist-info/LICENSE,sha256=kqvFysVlnFxYOu0HxCe2HlmZmJtdmNGOxWRRkT9TsWc,1035
45
+ praisonai-0.0.65.dist-info/METADATA,sha256=Qzr4CiXNuuxm9y_cKG9lJYTLvCb_FvnG4ffcEWsGESk,11406
46
+ praisonai-0.0.65.dist-info/WHEEL,sha256=HBsDV7Hj4OTiS1GX6ua7iQXUQTB9UHftbBxr7Q8Xm9c,110
47
+ praisonai-0.0.65.dist-info/entry_points.txt,sha256=jB078LEGLY3Ky_indhclomRIVVpXrPSksHjJ-tcBZ-o,133
48
+ praisonai-0.0.65.dist-info/RECORD,,