PraisonAI 0.1.0__cp312-cp312-manylinux_2_35_x86_64.whl → 0.1.1__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 +1 -1
- praisonai/ui/realtimeclient/__init__.py +2 -0
- praisonai/ui/realtimeclient/realtimedocs.txt +1484 -0
- praisonai/ui/realtimeclient/tools.py +63 -20
- {praisonai-0.1.0.dist-info → praisonai-0.1.1.dist-info}/METADATA +12 -11
- {praisonai-0.1.0.dist-info → praisonai-0.1.1.dist-info}/RECORD +9 -8
- {praisonai-0.1.0.dist-info → praisonai-0.1.1.dist-info}/LICENSE +0 -0
- {praisonai-0.1.0.dist-info → praisonai-0.1.1.dist-info}/WHEEL +0 -0
- {praisonai-0.1.0.dist-info → praisonai-0.1.1.dist-info}/entry_points.txt +0 -0
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.
|
|
59
|
+
file.write("RUN pip install flask praisonai==0.1.1 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
|
|
|
@@ -431,6 +431,8 @@ class RealtimeClient(RealtimeEventHandler):
|
|
|
431
431
|
self.dispatch("realtime.event", realtime_event)
|
|
432
432
|
|
|
433
433
|
def _on_session_created(self, event):
|
|
434
|
+
print(f"Session created: {event}")
|
|
435
|
+
logger.debug(f"Session created: {event}")
|
|
434
436
|
self.session_created = True
|
|
435
437
|
|
|
436
438
|
def _process_event(self, event, *args):
|