diff --git a/Dockerfile b/Dockerfile index 3afc845..250a0c1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,8 @@ COPY pyproject.toml /app COPY README.md /app COPY LICENSE /app -RUN apt update && apt install -y build-essential libpython3-dev +RUN apt update +RUN apt install -y build-essential libpython3-dev ffmpeg RUN pip install .[all] RUN pip install 'future==1.0.0' diff --git a/pyproject.toml b/pyproject.toml index 33ad582..7246beb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -51,8 +51,12 @@ e2ee = [ "pantalaimon>=0.10.5", ] +trackingmore = [ + "trackingmore-api-tool", +] + all = [ - "matrix-gptbot[openai,wolframalpha,e2ee]", + "matrix-gptbot[openai,wolframalpha,e2ee,trackingmore]", "geopy", "beautifulsoup4", ] diff --git a/src/gptbot/classes/bot.py b/src/gptbot/classes/bot.py index a1f1ae1..094070a 100644 --- a/src/gptbot/classes/bot.py +++ b/src/gptbot/classes/bot.py @@ -60,6 +60,8 @@ from ..migrations import migrate from ..callbacks import RESPONSE_CALLBACKS, EVENT_CALLBACKS from ..commands import COMMANDS from ..tools import TOOLS, Handover, StopProcessing + +# TODO: Make these optional based on config from .openai import OpenAI from .wolframalpha import WolframAlpha from .trackingmore import TrackingMore