PraisonAI 0.0.28__py3-none-any.whl → 0.0.30__py3-none-any.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/chainlit_ui.py CHANGED
@@ -75,6 +75,12 @@ async def start_chat():
75
75
  "message_history",
76
76
  [{"role": "system", "content": "You are a helpful assistant."}],
77
77
  )
78
+
79
+ # Create tools.py if it doesn't exist
80
+ if not os.path.exists("tools.py"):
81
+ with open("tools.py", "w") as f:
82
+ f.write("# Add your custom tools here\n")
83
+
78
84
  settings = await cl.ChatSettings(
79
85
  [
80
86
  TextInput(id="Model", label="OpenAI - Model", initial=config_list[0]['model']),
praisonai/cli.py CHANGED
@@ -156,6 +156,8 @@ class PraisonAI:
156
156
  args.agent_file = 'agents.yaml'
157
157
  if args.agent_file == 'api:app' or args.agent_file == '/app/api:app':
158
158
  args.agent_file = 'agents.yaml'
159
+ if args.agent_file == 'ui':
160
+ args.ui = 'chainlit'
159
161
 
160
162
  return args
161
163
 
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.28 gunicorn markdown\n")
59
+ file.write("RUN pip install flask praisonai==0.0.30 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.28
3
+ Version: 0.0.30
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
@@ -2,15 +2,15 @@ praisonai/__init__.py,sha256=5SwxMGd4vNUmYedF_HLLQBo4u8zMEWuEfKhHqJrEE1I,59
2
2
  praisonai/__main__.py,sha256=MVgsjMThjBexHt4nhd760JCqvP4x0IQcwo8kULOK4FQ,144
3
3
  praisonai/agents_generator.py,sha256=blzU5uru7rctRUTlnxEER9NLyu4aAd-oUjE-0xo81ww,12787
4
4
  praisonai/auto.py,sha256=CpE9zUbdCP1wR0aLZWKVLxiLU9JOQprRNBK9WKDZVQo,7758
5
- praisonai/chainlit_ui.py,sha256=jXNQfnH3D2xsSvJ0ESuHy-yDgBjudBKb1ODPfbqhYRc,10053
6
- praisonai/cli.py,sha256=_KB_12VoYFSLywFqE0kfbkM76e3DNRK9eeWsFlnfANc,10021
7
- praisonai/deploy.py,sha256=t8JLpY4Zq4GBlOogjI2cLKyjIq2_xOVsqLguQrhtE3M,6031
5
+ praisonai/chainlit_ui.py,sha256=nzm_C8MpiocAlSfyA3lgERCGxzpEfvoROREBTNrDe5A,10239
6
+ praisonai/cli.py,sha256=-ikeUf2NUCVvme37X7HwtaDop5ck2Fx802J-Q7b4cyg,10090
7
+ praisonai/deploy.py,sha256=lKhm-m9tQdvm3LKn5PK9Uqu9_vfkW7CF6ZPq1tTvLl8,6031
8
8
  praisonai/inbuilt_tools/__init__.py,sha256=mUKnbL6Gram9c9f2m8wJwEzURBLmPEOcHzwySBH89YA,74
9
9
  praisonai/inbuilt_tools/autogen_tools.py,sha256=m3Ws2444hzgkiEjqw9Y4PFb_LsU9ZDD23C03uNsyeu0,14556
10
10
  praisonai/test.py,sha256=RZKq3UEFb6AnFFiHER3zBXfNmlteSLBlrTmOvnpnZLo,4092
11
11
  praisonai/version.py,sha256=ugyuFliEqtAwQmH4sTlc16YXKYbFWDmfyk87fErB8-8,21
12
- praisonai-0.0.28.dist-info/LICENSE,sha256=kqvFysVlnFxYOu0HxCe2HlmZmJtdmNGOxWRRkT9TsWc,1035
13
- praisonai-0.0.28.dist-info/METADATA,sha256=zYoPjpI0HpZ6RfcHI6IzzrEaelO_z4vyNz_C-ZfqyiY,9552
14
- praisonai-0.0.28.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
15
- praisonai-0.0.28.dist-info/entry_points.txt,sha256=Qg41eW3A1-dvdV5tF7LqChfYof8Rihk2rN1fiEE3vnk,53
16
- praisonai-0.0.28.dist-info/RECORD,,
12
+ praisonai-0.0.30.dist-info/LICENSE,sha256=kqvFysVlnFxYOu0HxCe2HlmZmJtdmNGOxWRRkT9TsWc,1035
13
+ praisonai-0.0.30.dist-info/METADATA,sha256=7EJpedfMWEQjIQAxh0qvz7wG9e_WzSJtVc1lfC8i6Fw,9552
14
+ praisonai-0.0.30.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
15
+ praisonai-0.0.30.dist-info/entry_points.txt,sha256=Qg41eW3A1-dvdV5tF7LqChfYof8Rihk2rN1fiEE3vnk,53
16
+ praisonai-0.0.30.dist-info/RECORD,,