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

@@ -460,14 +460,14 @@ class AgentsGenerator:
460
460
  allow_delegation=details.get('allow_delegation', False),
461
461
  llm=llm,
462
462
  function_calling_llm=function_calling_llm,
463
- max_iter=details.get('max_iter', 15),
464
- max_rpm=details.get('max_rpm'),
465
- max_execution_time=details.get('max_execution_time'),
463
+ max_iter=details.get('max_iter') or 15,
464
+ max_rpm=details.get('max_rpm') or None,
465
+ max_execution_time=details.get('max_execution_time') or None,
466
466
  verbose=details.get('verbose', True),
467
467
  cache=details.get('cache', True),
468
- system_template=details.get('system_template'),
469
- prompt_template=details.get('prompt_template'),
470
- response_template=details.get('response_template'),
468
+ system_template=details.get('system_template') or None,
469
+ prompt_template=details.get('prompt_template') or None,
470
+ response_template=details.get('response_template') or None,
471
471
  )
472
472
 
473
473
  # Set agent callback if provided
praisonai/auto.py CHANGED
@@ -104,7 +104,7 @@ Tools are not available for {framework}. To use tools, install:
104
104
  self.client = instructor.patch(
105
105
  OpenAI(
106
106
  base_url=self.config_list[0]['base_url'],
107
- api_key=os.getenv("OPENAI_API_KEY"),
107
+ api_key=self.config_list[0]['api_key'],
108
108
  ),
109
109
  mode=instructor.Mode.JSON,
110
110
  )
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.2.7 gunicorn markdown\n")
59
+ file.write("RUN pip install flask praisonai==2.2.8 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.3
2
2
  Name: PraisonAI
3
- Version: 2.2.7
3
+ Version: 2.2.8
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
@@ -1,11 +1,11 @@
1
1
  praisonai/__init__.py,sha256=JrgyPlzZfLlozoW7SHZ1nVJ63rLPR3ki2k5ZPywYrnI,175
2
2
  praisonai/__main__.py,sha256=MVgsjMThjBexHt4nhd760JCqvP4x0IQcwo8kULOK4FQ,144
3
- praisonai/agents_generator.py,sha256=YxNxEwJ9NNnFMXZTDcTO7JjGGy6eXnaDmrd7YsxTZTg,28451
3
+ praisonai/agents_generator.py,sha256=5aIUXEoFExpke0h0h57oQU_7BUFlSHTl4fiN9WOi7HI,28493
4
4
  praisonai/api/call.py,sha256=krOfTCZM_bdbsNuWQ1PijzCHECkDvEi9jIvvZaDQUUU,11035
5
- praisonai/auto.py,sha256=uLDm8CU3L_3amZsd55yzf9RdBF1uW-BGSx7nl9ctNZ4,8680
5
+ praisonai/auto.py,sha256=g9k1X94mx4tYxprEAtgzu-FPRffBM7cq2MZ0C3Po364,8683
6
6
  praisonai/chainlit_ui.py,sha256=bNR7s509lp0I9JlJNvwCZRUZosC64qdvlFCt8NmFamQ,12216
7
7
  praisonai/cli.py,sha256=mKTDudn9N-xW1Kzak90Ay7a6JO1sq2G3GRNisBzMClw,27180
8
- praisonai/deploy.py,sha256=LGWXC8dvoQyG1bKgR-DLwlKsKqfuuSY4LCNqClCCTiY,6027
8
+ praisonai/deploy.py,sha256=oyGbUZqLF2E7GJKWjRJ_dXdsAUXmMFhIrp63qXZKT9E,6027
9
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
@@ -84,8 +84,8 @@ praisonai/ui/sql_alchemy.py,sha256=fPLPBJlrgV1_sRugirbNDCunqxqFB-CjV9TvCThU4nU,2
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.2.7.dist-info/LICENSE,sha256=kqvFysVlnFxYOu0HxCe2HlmZmJtdmNGOxWRRkT9TsWc,1035
88
- praisonai-2.2.7.dist-info/METADATA,sha256=Ly06qJbksudcxpoKxodpY3SBUmJUx0qcSVqiXeiZ_Jk,22118
89
- praisonai-2.2.7.dist-info/WHEEL,sha256=dCzwOzx-VmbmLA5u8QpkARaxx3rsePBxa1nmZphhNQk,110
90
- praisonai-2.2.7.dist-info/entry_points.txt,sha256=I_xc6a6MNTTfLxYmAxe0rgey0G-_hbY07oFW-ZDnkw4,135
91
- praisonai-2.2.7.dist-info/RECORD,,
87
+ praisonai-2.2.8.dist-info/LICENSE,sha256=kqvFysVlnFxYOu0HxCe2HlmZmJtdmNGOxWRRkT9TsWc,1035
88
+ praisonai-2.2.8.dist-info/METADATA,sha256=f7EyLy-vPZmopmS4kopPhHDZUlgWqZy5qpBPKYXR_Lk,22118
89
+ praisonai-2.2.8.dist-info/WHEEL,sha256=dCzwOzx-VmbmLA5u8QpkARaxx3rsePBxa1nmZphhNQk,110
90
+ praisonai-2.2.8.dist-info/entry_points.txt,sha256=I_xc6a6MNTTfLxYmAxe0rgey0G-_hbY07oFW-ZDnkw4,135
91
+ praisonai-2.2.8.dist-info/RECORD,,