From 7de53fb306aaed78f38f6c71ba318b592f17bed4 Mon Sep 17 00:00:00 2001 From: Peter Jung Date: Thu, 18 Apr 2024 10:44:24 +0200 Subject: [PATCH] Hotfix CrewAI dependency (#86) --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index e341e9b4..e05de2d2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,4 +28,8 @@ COPY prediction_market_agent ./prediction_market_agent ENV PYTHONPATH=/app +# TODO: This is a hotfix, because we are unable to lock this version with mech-client, remove this ASAP when PRs are merged into Valory and update pyproject in PMAT. +# This also works locally, after doing `poetry install` just go to `poetry shell` and run `pip install crewai["tools"]==0.22.5`. +RUN pip install 'crewai[tools]'==0.22.5 + CMD ["bash", "-c", "python prediction_market_agent/run_agent.py ${runnable_agent_name} ${market_type}"]