PraisonAI 2.0.68__cp313-cp313-manylinux_2_39_x86_64.whl → 2.0.70__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/cli.py CHANGED
@@ -201,6 +201,10 @@ class PraisonAI:
201
201
  )
202
202
  with open('config.yaml', 'w') as f:
203
203
  yaml.dump(config, f, default_flow_style=False, indent=2)
204
+ else:
205
+ # Load existing config
206
+ with open(config_yaml_destination, 'r') as f:
207
+ config = yaml.safe_load(f)
204
208
 
205
209
  # Overwrite huggingface_save and ollama_save if --hf or --ollama are provided
206
210
  if args.hf:
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.68 gunicorn markdown\n")
59
+ file.write("RUN pip install flask praisonai==2.0.70 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
 
@@ -100,6 +100,6 @@ $PIP_FULL_PATH install "unsloth[colab-new] @ git+https://github.com/unslothai/un
100
100
  $PIP_FULL_PATH install --no-deps "trl<0.9.0" peft accelerate bitsandbytes
101
101
  $PIP_FULL_PATH install unsloth_zoo
102
102
  $PIP_FULL_PATH install cut_cross_entropy
103
- $PIP_FULL_PATH install sentencepiece protobuf datasets huggingface_hub hf_transfer
103
+ $PIP_FULL_PATH install sentencepiece protobuf datasets huggingface_hub hf_transfer wandb
104
104
 
105
105
  echo "Setup completed successfully!"
praisonai/train.py CHANGED
@@ -230,7 +230,9 @@ class TrainModel:
230
230
  lr_scheduler_type="linear",
231
231
  seed=3407,
232
232
  output_dir="outputs",
233
- report_to="none",
233
+ report_to="none" if not os.getenv("PRAISON_WANDB") else "wandb",
234
+ save_steps=100 if os.getenv("PRAISON_WANDB") else None,
235
+ run_name=os.getenv("PRAISON_WANDB_RUN_NAME", "praisonai-train") if os.getenv("PRAISON_WANDB") else None,
234
236
  remove_unused_columns=False,
235
237
  )
236
238
  # Since the dataset is pre-tokenized, we supply a dummy dataset_text_field.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: PraisonAI
3
- Version: 2.0.68
3
+ Version: 2.0.70
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
@@ -4,8 +4,8 @@ praisonai/agents_generator.py,sha256=j8lYudAr3wlVBQLng3iYL6mfRqx2i9M6wlryxIVRzDA
4
4
  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
- praisonai/cli.py,sha256=wKf17OzAmDhCWXtP_HDF4UrULCiWV1CI5yTEtCPUi28,24898
8
- praisonai/deploy.py,sha256=Y4s5sEi_oW0WbshG_-J0zXH4sAVZWwqtPbRcKdS58Jg,6028
7
+ praisonai/cli.py,sha256=UO1Qh-PwpKgQHW9FBMPGhmC3EIanejWBsIN1okldJ-w,25064
8
+ praisonai/deploy.py,sha256=BbAOSiDNGd0Z07B1vLENfJKSErPzhRUVwX0eiKSbr90,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
@@ -30,10 +30,10 @@ praisonai/setup/build.py,sha256=NyTAXQ_UZ8vKo_KwCINp8ctmauZyCMDkw1rys3ay0ec,646
30
30
  praisonai/setup/config.yaml,sha256=sr_D1RIvv3LQ_eueOMZV0rAUiWTR-n2xuE1RhKK6b34,1211
31
31
  praisonai/setup/post_install.py,sha256=rlUYJhT4JXVrL2RQih5VUPr4PQEmpVypoRpe_vJDMBk,730
32
32
  praisonai/setup/setup_conda_env.py,sha256=4QiWrqgEObivzOMwfJgWaCPpUEpB68cQ6lFwVwFoufk,816
33
- praisonai/setup/setup_conda_env.sh,sha256=aD5Tb_T4UeVtJD5ibYTBB50YWCKh7INdiei2LN1fBig,4081
33
+ praisonai/setup/setup_conda_env.sh,sha256=tU6CeQdOB-Tka21C4qYhaCtVNOzLf1A6jlYEf_DIXuo,4087
34
34
  praisonai/setup.py,sha256=0jHgKnIPCtBZiGYaYyTz3PzrJI6nBy55VXk2UctXlDo,373
35
35
  praisonai/test.py,sha256=OL-wesjA5JTohr8rtr6kWoaS4ImkJg2l0GXJ-dUUfRU,4090
36
- praisonai/train.py,sha256=6j2-mPYXlPBtTkyAX9YyaOIBlSnkTxDMRyMrrPfsehY,23372
36
+ praisonai/train.py,sha256=fDpoR3uz0ZYRAuQHqzmZalbcy0BKMK3BMI27t56wJqw,23604
37
37
  praisonai/ui/README.md,sha256=QG9yucvBieVjCjWFzu6hL9xNtYllkoqyJ_q1b0YYAco,1124
38
38
  praisonai/ui/agents.py,sha256=1qsWE2yCaQKhuc-1uLHdMfZJeOXzBtp4pe5q7bk2EuA,32813
39
39
  praisonai/ui/callbacks.py,sha256=V4_-GjxmjDFmugUZGfQHKtNSysx7rT6i1UblbM_8lIM,1968
@@ -82,8 +82,8 @@ praisonai/ui/realtimeclient/tools.py,sha256=IJOYwVOBW5Ocn5_iV9pFkmSKR3WU3YpX3kwF
82
82
  praisonai/ui/sql_alchemy.py,sha256=oekZOXlRGMJ2SuC-lmgMMIzAmvbMg2DWeGTSpOzbVBM,29674
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.68.dist-info/LICENSE,sha256=kqvFysVlnFxYOu0HxCe2HlmZmJtdmNGOxWRRkT9TsWc,1035
86
- praisonai-2.0.68.dist-info/METADATA,sha256=40eNlhebkie0J4FTWcMmb2Rr801LkdBzmVHYsSkaSDY,21942
87
- praisonai-2.0.68.dist-info/WHEEL,sha256=OiNztsphQWM3l0xJ9BHQRElMnxzHbt1M68r2N60f8T8,110
88
- praisonai-2.0.68.dist-info/entry_points.txt,sha256=I_xc6a6MNTTfLxYmAxe0rgey0G-_hbY07oFW-ZDnkw4,135
89
- praisonai-2.0.68.dist-info/RECORD,,
85
+ praisonai-2.0.70.dist-info/LICENSE,sha256=kqvFysVlnFxYOu0HxCe2HlmZmJtdmNGOxWRRkT9TsWc,1035
86
+ praisonai-2.0.70.dist-info/METADATA,sha256=dMTaxp3ainYmp-JnBaiOfN-b8LS4ybGKXR4p52gRUIQ,21942
87
+ praisonai-2.0.70.dist-info/WHEEL,sha256=OiNztsphQWM3l0xJ9BHQRElMnxzHbt1M68r2N60f8T8,110
88
+ praisonai-2.0.70.dist-info/entry_points.txt,sha256=I_xc6a6MNTTfLxYmAxe0rgey0G-_hbY07oFW-ZDnkw4,135
89
+ praisonai-2.0.70.dist-info/RECORD,,