PraisonAI 0.0.74__cp312-cp312-manylinux_2_35_x86_64.whl → 0.1.0__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/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.74 gunicorn markdown\n")
59
+ file.write("RUN pip install flask praisonai==0.1.0 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
 
@@ -10,6 +10,7 @@ import asyncio
10
10
  from openai import OpenAI
11
11
  import base64
12
12
  from io import BytesIO
13
+ from datetime import datetime
13
14
 
14
15
  # Set up logging
15
16
  logger = logging.getLogger(__name__)
@@ -104,8 +105,8 @@ async def tavily_web_search_handler(query):
104
105
  "query": query,
105
106
  "error": "Tavily API key is not set. Web search is unavailable."
106
107
  })
107
-
108
- response = tavily_client.search(query)
108
+ current_date = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
109
+ response = tavily_client.search(query + f" {current_date}")
109
110
  logger.debug(f"Tavily search response: {response}")
110
111
 
111
112
  # Create an instance of WebCrawler
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: PraisonAI
3
- Version: 0.0.74
3
+ Version: 0.1.0
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
@@ -41,6 +41,7 @@ Requires-Dist: pyparsing (>=3.0.0)
41
41
  Requires-Dist: rich (>=13.7)
42
42
  Requires-Dist: tavily-python (==0.5.0) ; extra == "chat" or extra == "code" or extra == "realtime"
43
43
  Requires-Dist: websockets (>=12.0) ; extra == "realtime"
44
+ Requires-Dist: yfinance (>=0.2.44) ; extra == "realtime"
44
45
  Project-URL: Homepage, https://docs.praison.ai
45
46
  Project-URL: Repository, https://github.com/mervinpraison/PraisonAI
46
47
  Description-Content-Type: text/markdown
@@ -4,7 +4,7 @@ praisonai/agents_generator.py,sha256=8d1WRbubvEkBrW1HZ7_xnGyqgJi0yxmXa3MgTIqef1c
4
4
  praisonai/auto.py,sha256=9spTXqj47Hmmqv5QHRYE_RzSVHH_KoPbaZjskUj2UcE,7895
5
5
  praisonai/chainlit_ui.py,sha256=bNR7s509lp0I9JlJNvwCZRUZosC64qdvlFCt8NmFamQ,12216
6
6
  praisonai/cli.py,sha256=raZ-thG6SShb9kHjiBXMQbJWn10mBuycZxj6WDWfFa4,20105
7
- praisonai/deploy.py,sha256=b3VyrXQ7Lb0KRkeg8rjY0VO-gG-q7CVfKIS3mIR0ZMk,6028
7
+ praisonai/deploy.py,sha256=cQthyYWil0u0JbBEVaNC3QKpspb4VZks21nVgXRphw4,6027
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,11 +41,11 @@ praisonai/ui/public/movie.svg,sha256=aJ2EQ8vXZusVsF2SeuAVxP4RFJzQ14T26ejrGYdBgzk
41
41
  praisonai/ui/public/thriller.svg,sha256=2dYY72EcgbEyTxS4QzjAm37Y4srtPWEW4vCMFki98ZI,3163
42
42
  praisonai/ui/realtime.py,sha256=MiE6-qXz_5BKLzNHK6rR2bfuhy3pgws_l53dvWfXRZU,13313
43
43
  praisonai/ui/realtimeclient/__init__.py,sha256=tJAtZzH1abeV1UoUquF3Ve2e6R-BNeJ4-YYmWvEm164,27367
44
- praisonai/ui/realtimeclient/tools.py,sha256=Jca9BSDeu4t5iKcHZ0ACVAbT0CpF_R-kA202dEtyl5E,6145
44
+ praisonai/ui/realtimeclient/tools.py,sha256=EAnT9POylODOf0CKbJQLMw7TpoE8HLq2k8fBWhZ6HG4,6255
45
45
  praisonai/ui/sql_alchemy.py,sha256=kf025P_37C505YDDJZ-dPSmN_d62J2DCrkxbDAzXyrM,29884
46
46
  praisonai/version.py,sha256=ugyuFliEqtAwQmH4sTlc16YXKYbFWDmfyk87fErB8-8,21
47
- praisonai-0.0.74.dist-info/LICENSE,sha256=kqvFysVlnFxYOu0HxCe2HlmZmJtdmNGOxWRRkT9TsWc,1035
48
- praisonai-0.0.74.dist-info/METADATA,sha256=NvAnPlMiXVEYd2jbdp4HEwekbgXt9EMwzsO5ek1C0Rs,12716
49
- praisonai-0.0.74.dist-info/WHEEL,sha256=HBsDV7Hj4OTiS1GX6ua7iQXUQTB9UHftbBxr7Q8Xm9c,110
50
- praisonai-0.0.74.dist-info/entry_points.txt,sha256=jB078LEGLY3Ky_indhclomRIVVpXrPSksHjJ-tcBZ-o,133
51
- praisonai-0.0.74.dist-info/RECORD,,
47
+ praisonai-0.1.0.dist-info/LICENSE,sha256=kqvFysVlnFxYOu0HxCe2HlmZmJtdmNGOxWRRkT9TsWc,1035
48
+ praisonai-0.1.0.dist-info/METADATA,sha256=A8h5uw7QjHmmk4jkXaZxT50ezUSuWMCnBHTfyKhQbmQ,12772
49
+ praisonai-0.1.0.dist-info/WHEEL,sha256=HBsDV7Hj4OTiS1GX6ua7iQXUQTB9UHftbBxr7Q8Xm9c,110
50
+ praisonai-0.1.0.dist-info/entry_points.txt,sha256=jB078LEGLY3Ky_indhclomRIVVpXrPSksHjJ-tcBZ-o,133
51
+ praisonai-0.1.0.dist-info/RECORD,,