Skip to content

Commit 7481842

Browse files
pk-zipstackclaude
andauthored
[FIX] Switch litellm to Zipstack fork after PyPI quarantine (#1873)
* [FIX] Switch litellm to Zipstack fork after PyPI quarantine Source litellm 1.82.3 from Zipstack/litellm GitHub repo instead of PyPI, which has been quarantined. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * [FIX] Add git to worker-unified Dockerfile for GitHub-sourced deps uv needs git to clone litellm from the Zipstack GitHub fork. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * [FIX] Add git to tool Dockerfiles for GitHub-sourced litellm All three tool containers (structure, text_extractor, classifier) install sdk1 which now sources litellm from a git repo. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * [MISC] Bump tool versions for Zipstack litellm fork - structure: 0.0.99 → 0.0.100 - classifier: 0.0.78 → 0.0.79 - text_extractor: 0.0.74 → 0.0.75 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * [MISC] Remove duplicate pytest-asyncio dep and regenerate lock files Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 7f51af2 commit 7481842

18 files changed

Lines changed: 41 additions & 70 deletions

File tree

backend/sample.env

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,9 @@ PROMPT_STUDIO_FILE_PATH=/app/prompt-studio-data
100100

101101
# Structure Tool Image (Runs prompt studio exported tools)
102102
# https://hub.docker.com/r/unstract/tool-structure
103-
STRUCTURE_TOOL_IMAGE_URL="docker:unstract/tool-structure:0.0.99"
103+
STRUCTURE_TOOL_IMAGE_URL="docker:unstract/tool-structure:0.0.100"
104104
STRUCTURE_TOOL_IMAGE_NAME="unstract/tool-structure"
105-
STRUCTURE_TOOL_IMAGE_TAG="0.0.99"
105+
STRUCTURE_TOOL_IMAGE_TAG="0.0.100"
106106

107107
# Feature Flags
108108
EVALUATION_SERVER_IP=unstract-flipt

backend/uv.lock

Lines changed: 5 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docker/dockerfiles/worker-unified.Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ RUN apt-get update \
2424
build-essential \
2525
curl \
2626
gcc \
27+
git \
2728
libmagic-dev \
2829
libssl-dev \
2930
pkg-config \

platform-service/uv.lock

Lines changed: 2 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

prompt-service/uv.lock

Lines changed: 2 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tools/classifier/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ENV \
1010
PIP_DEFAULT_TIMEOUT=120
1111

1212
# Install dependencies for unstructured library's partition
13-
RUN apt-get update && apt-get --no-install-recommends -y install dumb-init libmagic-dev poppler-utils\
13+
RUN apt-get update && apt-get --no-install-recommends -y install dumb-init git libmagic-dev poppler-utils\
1414
&& apt-get clean \
1515
&& rm -rf /var/lib/apt/lists/*
1616

tools/classifier/src/config/properties.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"schemaVersion": "0.0.1",
33
"displayName": "File Classifier",
44
"functionName": "classify",
5-
"toolVersion": "0.0.78",
5+
"toolVersion": "0.0.79",
66
"description": "Classifies a file into a bin based on its contents",
77
"input": {
88
"description": "File to be classified"

tools/structure/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ ENV \
2525
# Install system dependencies in one layer
2626
RUN apt-get update && \
2727
apt-get install -y --no-install-recommends \
28-
ffmpeg libsm6 libxext6 libmagic-dev poppler-utils \
28+
ffmpeg git libsm6 libxext6 libmagic-dev poppler-utils \
2929
libreoffice freetds-dev freetds-bin dumb-init && \
3030
apt-get clean && \
3131
rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*

tools/structure/src/config/properties.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"schemaVersion": "0.0.1",
33
"displayName": "Structure Tool",
44
"functionName": "structure_tool",
5-
"toolVersion": "0.0.99",
5+
"toolVersion": "0.0.100",
66
"description": "This is a template tool which can answer set of input prompts designed in the Prompt Studio",
77
"input": {
88
"description": "File that needs to be indexed and parsed for answers"

tools/text_extractor/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ENV \
1010
PIP_DEFAULT_TIMEOUT=120
1111

1212
# Install dependencies for unstructured library's partition
13-
RUN apt-get update && apt-get --no-install-recommends -y install dumb-init libmagic-dev poppler-utils\
13+
RUN apt-get update && apt-get --no-install-recommends -y install dumb-init git libmagic-dev poppler-utils\
1414
&& apt-get clean \
1515
&& rm -rf /var/lib/apt/lists/*
1616

0 commit comments

Comments
 (0)