Skip to content

Commit cd5312b

Browse files
authored
fix: chunk err when using openrouter deepseek (#5069)
1 parent d87bfb0 commit cd5312b

2 files changed

Lines changed: 7 additions & 8 deletions

File tree

Dockerfile

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,16 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
1515
curl \
1616
gnupg \
1717
git \
18+
&& curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - \
19+
&& apt-get install -y --no-install-recommends nodejs \
1820
&& apt-get clean \
1921
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
2022

21-
RUN apt-get update && apt-get install -y curl gnupg \
22-
&& curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - \
23-
&& apt-get install -y nodejs
24-
2523
RUN python -m pip install uv \
26-
&& echo "3.12" > .python-version
27-
RUN uv pip install -r requirements.txt --no-cache-dir --system
28-
RUN uv pip install socksio uv pilk --no-cache-dir --system
24+
&& echo "3.12" > .python-version \
25+
&& uv export --format requirements.txt --output-file requirements.txt --frozen \
26+
&& uv pip install -r requirements.txt --no-cache-dir --system \
27+
&& uv pip install socksio uv pilk --no-cache-dir --system
2928

3029
EXPOSE 6185
3130

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ pillow>=11.2.1
2929
pip>=25.1.1
3030
psutil>=5.8.0,<7.2.0
3131
py-cord>=2.6.1
32-
pydantic~=2.10.3
32+
pydantic>=2.12.5
3333
pydub>=0.25.1
3434
pyjwt>=2.10.1
3535
python-telegram-bot>=22.0

0 commit comments

Comments
 (0)