Skip to content

Commit

Permalink
Hotfix CrewAI dependency (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
kongzii authored Apr 18, 2024
1 parent 1422d88 commit 7de53fb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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}"]

0 comments on commit 7de53fb

Please sign in to comment.