PraisonAI 0.1.5__cp312-cp312-manylinux_2_35_x86_64.whl → 0.1.6__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/api/call.py CHANGED
@@ -38,7 +38,7 @@ app = FastAPI()
38
38
  if not OPENAI_API_KEY:
39
39
  raise ValueError('Missing the OpenAI API key. Please set it in the .env file.')
40
40
 
41
- @app.get("/", response_class=HTMLResponse)
41
+ @app.get("/status", response_class=HTMLResponse)
42
42
  async def index_page():
43
43
  return """
44
44
  <html>
@@ -51,7 +51,7 @@ async def index_page():
51
51
  </html>
52
52
  """
53
53
 
54
- @app.api_route("/call", methods=["GET", "POST"])
54
+ @app.api_route("/", methods=["GET", "POST"])
55
55
  async def handle_incoming_call(request: Request):
56
56
  """Handle incoming call and return TwiML response to connect to Media Stream."""
57
57
  response = VoiceResponse()
@@ -159,7 +159,7 @@ def setup_public_url(port):
159
159
  if NGROK_AUTH_TOKEN:
160
160
  conf.get_default().auth_token = NGROK_AUTH_TOKEN
161
161
  public_url = ngrok.connect(addr=str(port)).public_url
162
- print(f"Praison AI Voice URL: {public_url}/call")
162
+ print(f"Praison AI Voice URL: {public_url}")
163
163
  return public_url
164
164
 
165
165
  def run_server(port: int, use_public: bool = False):
@@ -167,7 +167,7 @@ def run_server(port: int, use_public: bool = False):
167
167
  if use_public:
168
168
  setup_public_url(port)
169
169
  else:
170
- print(f"Starting Praison AI Call Server on http://localhost:{port}/call")
170
+ print(f"Starting Praison AI Call Server on http://localhost:{port}")
171
171
  uvicorn.run(app, host="0.0.0.0", port=port, log_level="warning")
172
172
 
173
173
  def main(args=None):
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.1.5 gunicorn markdown\n")
59
+ file.write("RUN pip install flask praisonai==0.1.6 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.1.5
3
+ Version: 0.1.6
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
@@ -1,11 +1,11 @@
1
1
  praisonai/__init__.py,sha256=JrgyPlzZfLlozoW7SHZ1nVJ63rLPR3ki2k5ZPywYrnI,175
2
2
  praisonai/__main__.py,sha256=MVgsjMThjBexHt4nhd760JCqvP4x0IQcwo8kULOK4FQ,144
3
3
  praisonai/agents_generator.py,sha256=8d1WRbubvEkBrW1HZ7_xnGyqgJi0yxmXa3MgTIqef1c,19127
4
- praisonai/api/call.py,sha256=4Vz2s_MaSG-4l9xsZdRrZFmKWSChvoHvF9iCUzu0tFw,7285
4
+ praisonai/api/call.py,sha256=6yVJqczuCnVYk3EIKsPzLYjSLC79IwD5o57mpGz9dxo,7277
5
5
  praisonai/auto.py,sha256=9spTXqj47Hmmqv5QHRYE_RzSVHH_KoPbaZjskUj2UcE,7895
6
6
  praisonai/chainlit_ui.py,sha256=bNR7s509lp0I9JlJNvwCZRUZosC64qdvlFCt8NmFamQ,12216
7
7
  praisonai/cli.py,sha256=BlVEsQW45pbYoqAtm-EiNpoHt8BFKX5frsbJ9s-tko0,20667
8
- praisonai/deploy.py,sha256=N1EQ8DsGu0kYQnQ_Z-UhCxJk541aii1yfpWvSgMyVzg,6027
8
+ praisonai/deploy.py,sha256=tXQBqMtNxOYuTKBeUkhz6UTAfJMhYJ1CBtw5W8Jc-pM,6027
9
9
  praisonai/inbuilt_tools/__init__.py,sha256=mUKnbL6Gram9c9f2m8wJwEzURBLmPEOcHzwySBH89YA,74
10
10
  praisonai/inbuilt_tools/autogen_tools.py,sha256=svYkM2N7DVFvbiwgoAS7U_MqTOD8rHf8VD3BaFUV5_Y,14907
11
11
  praisonai/inc/__init__.py,sha256=sPDlYBBwdk0VlWzaaM_lG0_LD07lS2HRGvPdxXJFiYg,62
@@ -46,8 +46,8 @@ praisonai/ui/realtimeclient/realtimedocs.txt,sha256=hmgd8Uwy2SkjSndyyF_-ZOaNxiyH
46
46
  praisonai/ui/realtimeclient/tools.py,sha256=IJOYwVOBW5Ocn5_iV9pFkmSKR3WU3YpX3kwF0I3jikQ,7855
47
47
  praisonai/ui/sql_alchemy.py,sha256=kf025P_37C505YDDJZ-dPSmN_d62J2DCrkxbDAzXyrM,29884
48
48
  praisonai/version.py,sha256=ugyuFliEqtAwQmH4sTlc16YXKYbFWDmfyk87fErB8-8,21
49
- praisonai-0.1.5.dist-info/LICENSE,sha256=kqvFysVlnFxYOu0HxCe2HlmZmJtdmNGOxWRRkT9TsWc,1035
50
- praisonai-0.1.5.dist-info/METADATA,sha256=2Uq3Y3ckERKm-j7iOCo0xs-2ykfhIN2frcfhnbHr4bI,13291
51
- praisonai-0.1.5.dist-info/WHEEL,sha256=Ie8mbC-etDUh6aDhzdvvvp_A-4mQQX7whlOFBnSJhcE,110
52
- praisonai-0.1.5.dist-info/entry_points.txt,sha256=LT8Ie95dy4JkUlpgS0YyvD4Tf9zTstjaXISJnijDxoM,172
53
- praisonai-0.1.5.dist-info/RECORD,,
49
+ praisonai-0.1.6.dist-info/LICENSE,sha256=kqvFysVlnFxYOu0HxCe2HlmZmJtdmNGOxWRRkT9TsWc,1035
50
+ praisonai-0.1.6.dist-info/METADATA,sha256=8_nLIQ4kHTff3Kmb3RMWJdf3bkKDw7sOWifoC5jVF2I,13291
51
+ praisonai-0.1.6.dist-info/WHEEL,sha256=Ie8mbC-etDUh6aDhzdvvvp_A-4mQQX7whlOFBnSJhcE,110
52
+ praisonai-0.1.6.dist-info/entry_points.txt,sha256=LT8Ie95dy4JkUlpgS0YyvD4Tf9zTstjaXISJnijDxoM,172
53
+ praisonai-0.1.6.dist-info/RECORD,,