Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions Containerfile.c10s
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,10 @@ RUN dnf -y install --allowerasing \

COPY openinference-reasoning.patch /tmp
COPY openinference-streaming.patch /tmp
COPY beeai-framework-error-context.patch /tmp

RUN pip3 install --no-cache-dir \
"litellm!=1.82.7,!=1.82.8,!=1.92.0" \
beeai-framework[vertexai,mcp,duckduckgo]==0.1.82 \
"mcp<1.29.0" \
beeai-framework[vertexai,mcp,duckduckgo]==0.1.83 \
google-cloud-aiplatform \
openinference-instrumentation-beeai==0.1.21 \
arize-phoenix-otel \
Expand All @@ -86,7 +84,6 @@ RUN pip3 install --no-cache-dir \
unidiff \
sentry-sdk>=2.13.0 \
&& cd /usr/local/lib/python3.12/site-packages \
&& patch -p2 -i /tmp/beeai-framework-error-context.patch \
&& patch -p5 -i /tmp/openinference-reasoning.patch \
&& patch -p5 -i /tmp/openinference-streaming.patch

Expand Down
5 changes: 1 addition & 4 deletions Containerfile.c9s
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,13 @@ RUN dnf -y install --allowerasing \

COPY openinference-reasoning.patch /tmp
COPY openinference-streaming.patch /tmp
COPY beeai-framework-error-context.patch /tmp

# Create Python 3.11 virtual environment and install Python packages
RUN python3.11 -m venv --system-site-packages /opt/beeai-venv \
&& /opt/beeai-venv/bin/pip install --upgrade pip \
&& /opt/beeai-venv/bin/pip install --no-cache-dir \
"litellm!=1.82.7,!=1.82.8,!=1.92.0" \
beeai-framework[vertexai,mcp,duckduckgo]==0.1.82 \
"mcp<1.29.0" \
beeai-framework[vertexai,mcp,duckduckgo]==0.1.83 \
google-cloud-aiplatform \
openinference-instrumentation-beeai==0.1.21 \
arize-phoenix-otel \
Expand All @@ -88,7 +86,6 @@ RUN python3.11 -m venv --system-site-packages /opt/beeai-venv \
unidiff \
sentry-sdk>=2.13.0 \
&& cd /opt/beeai-venv/lib/python3.11/site-packages \
&& patch -p2 -i /tmp/beeai-framework-error-context.patch \
&& patch -p5 -i /tmp/openinference-reasoning.patch \
&& patch -p5 -i /tmp/openinference-streaming.patch

Expand Down
3 changes: 1 addition & 2 deletions Containerfile.c9s-tests
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ RUN python3.11 -m venv --system-site-packages /opt/beeai-venv \
&& /opt/beeai-venv/bin/pip install --upgrade pip \
&& /opt/beeai-venv/bin/pip install --no-cache-dir \
"litellm!=1.82.7,!=1.82.8" \
beeai-framework[vertexai,mcp,duckduckgo]==0.1.82 \
"mcp<1.29.0" \
beeai-framework[vertexai,mcp,duckduckgo]==0.1.83 \
openinference-instrumentation-beeai==0.1.21 \
arize-phoenix-otel \
aiohttp>=3.12.15 \
Expand Down
5 changes: 1 addition & 4 deletions Containerfile.mcp
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,10 @@ RUN pip install --no-cache-dir hatchling hatch-requirements-txt
# need to build from source with their own build tools)
RUN pip wheel --no-build-isolation --no-deps --wheel-dir /tmp/wheels /home/mcp/ymir/common/ /home/mcp/ymir/tools/

COPY beeai-framework-error-context.patch /tmp

# Install the built wheels and all dependencies with standard pip (build isolation
# enabled for third-party packages); litellm pinned separately to exclude compromised versions
RUN pip install --no-cache-dir "litellm!=1.82.7,!=1.82.8" /tmp/wheels/*.whl && rm -rf /tmp/wheels \
&& cd /opt/beeai-venv/lib/python3.13/site-packages \
&& patch -p2 -i /tmp/beeai-framework-error-context.patch
&& cd /opt/beeai-venv/lib/python3.13/site-packages

# Verify no malicious litellm_init.pth was introduced by compromised litellm packages (e.g. 1.82.7, 1.82.8)
RUN MALICIOUS=$(find /usr /opt -name "litellm_init.pth" 2>/dev/null); \
Expand Down
3 changes: 1 addition & 2 deletions Containerfile.supervisor
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ RUN dnf -y install --allowerasing \
python3-devel \
&& pip3 install -v --no-cache-dir \
"litellm!=1.82.7,!=1.82.8" \
beeai-framework[vertexai,mcp,duckduckgo]==0.1.82 \
"mcp<1.29.0" \
beeai-framework[vertexai,mcp,duckduckgo]==0.1.83 \
google-cloud-aiplatform \
openinference-instrumentation-beeai==0.1.21 \
arize-phoenix-otel \
Expand Down
3 changes: 1 addition & 2 deletions Containerfile.tests
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ ENV PYTHONPATH=/src:$PYTHONPATH
# Install BeeAI Framework and FastMCP
RUN pip install --no-cache-dir \
"litellm!=1.82.7,!=1.82.8" \
beeai-framework[vertexai,mcp,duckduckgo]==0.1.82 \
"mcp<1.29.0" \
beeai-framework[vertexai,mcp,duckduckgo]==0.1.83 \
fastmcp \
redis \
backoff \
Expand Down
50 changes: 0 additions & 50 deletions beeai-framework-error-context.patch

This file was deleted.

3 changes: 1 addition & 2 deletions requirements-global.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Shared dependencies for ymir subpackages (common + tools)
beeai-framework[mcp]==0.1.82
mcp<1.29.0
beeai-framework[mcp]==0.1.83
jinja2>=3.1.0
pydantic>=2.0
aiofiles>=24.1.0
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ litellm!=1.82.7,!=1.82.8,!=1.92.0
aiohttp>=3.12.15
arize-phoenix-otel>=0.13.0
beautifulsoup4>=4.13.4
beeai-framework[duckduckgo]==0.1.82
beeai-framework[duckduckgo]==0.1.83
copr>=1.129
fastmcp>=2.11.3
logdetective-mcp>=0.5.0
Expand Down
Loading