PraisonAI 0.0.64__cp312-cp312-manylinux_2_35_x86_64.whl → 0.0.66__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
@@ -19,6 +19,7 @@ import logging
19
19
  logging.basicConfig(level=os.environ.get('LOGLEVEL', 'INFO'), format='%(asctime)s - %(levelname)s - %(message)s')
20
20
 
21
21
  try:
22
+ os.environ["CHAINLIT_APP_ROOT"] = os.path.join(os.path.expanduser("~"), ".praison")
22
23
  from chainlit.cli import chainlit_run
23
24
  CHAINLIT_AVAILABLE = True
24
25
  except ImportError:
@@ -286,10 +287,12 @@ class PraisonAI:
286
287
  if CHAINLIT_AVAILABLE:
287
288
  import praisonai
288
289
  os.environ["CHAINLIT_PORT"] = "8084"
290
+ root_path = os.path.join(os.path.expanduser("~"), ".praison")
291
+ os.environ["CHAINLIT_APP_ROOT"] = root_path
289
292
  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
293
+ if not os.path.exists(os.path.join(root_path, "public")): # Check if the folder exists in the current directory
291
294
  if os.path.exists(public_folder):
292
- shutil.copytree(public_folder, 'public', dirs_exist_ok=True)
295
+ shutil.copytree(public_folder, os.path.join(root_path, "public"), dirs_exist_ok=True)
293
296
  logging.info("Public folder copied successfully!")
294
297
  else:
295
298
  logging.info("Public folder not found in the package.")
@@ -314,10 +317,12 @@ class PraisonAI:
314
317
  if CHAINLIT_AVAILABLE:
315
318
  import praisonai
316
319
  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
320
+ root_path = os.path.join(os.path.expanduser("~"), ".praison")
321
+ os.environ["CHAINLIT_APP_ROOT"] = root_path
322
+ public_folder = os.path.join(os.path.dirname(__file__), 'public')
323
+ if not os.path.exists(os.path.join(root_path, "public")): # Check if the folder exists in the current directory
319
324
  if os.path.exists(public_folder):
320
- shutil.copytree(public_folder, 'public', dirs_exist_ok=True)
325
+ shutil.copytree(public_folder, os.path.join(root_path, "public"), dirs_exist_ok=True)
321
326
  logging.info("Public folder copied successfully!")
322
327
  else:
323
328
  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.66 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.66
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=M23MbUUzNS7z9ZHz3cGawUrGWzXM-FzhMyiRWQPZSEk,18485
7
+ praisonai/deploy.py,sha256=XjrgXuYb8otkQ4Y1fYah0Xo4S0wAQUcofBszCMbL5OE,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.66.dist-info/LICENSE,sha256=kqvFysVlnFxYOu0HxCe2HlmZmJtdmNGOxWRRkT9TsWc,1035
45
+ praisonai-0.0.66.dist-info/METADATA,sha256=AXsHQUxTKnza0LBXTskOP33g-XlAxCvYcFqUPGcUZKE,11406
46
+ praisonai-0.0.66.dist-info/WHEEL,sha256=HBsDV7Hj4OTiS1GX6ua7iQXUQTB9UHftbBxr7Q8Xm9c,110
47
+ praisonai-0.0.66.dist-info/entry_points.txt,sha256=jB078LEGLY3Ky_indhclomRIVVpXrPSksHjJ-tcBZ-o,133
48
+ praisonai-0.0.66.dist-info/RECORD,,