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
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@ All notable changes to llm-relay are documented here.

## [Unreleased]

### Fixed
- **Docker image build** (`Dockerfile`): removed the unconditional
`COPY vendor/tokpress /tmp/tokpress` + `pip install` step. The vendor
source is kept outside the repository, so the COPY always failed in
GitHub Actions and the Docker workflow has been broken on every tag
since `v0.9.2`. The proxy already imports `tokpress` inside a
`try/except ImportError` guard, so the image runs unchanged when the
package is absent (`_tokpress_available` simply stays `False`). The
v0.9.5 image is rebuilt via `gh workflow run docker.yml -f tag=0.9.5`
after this change lands on `main`.

## [0.9.5] - 2026-05-21

> Hotfix release surfaced by dogfooding `verify install` and `--help` on a
Expand Down
8 changes: 5 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ WORKDIR /app
# Install build deps
RUN pip install --no-cache-dir hatchling

# Install tokpress (from vendored copy)
COPY vendor/tokpress /tmp/tokpress
RUN pip install --no-cache-dir /tmp/tokpress && rm -rf /tmp/tokpress
# tokpress is an optional compression layer the proxy will use if it can
# import it at runtime (see src/llm_relay/proxy/proxy.py -- ImportError
# is caught and the feature simply stays disabled). Its sources live
# outside this repository, so the Docker image ships without it; nothing
# else in the proxy depends on it.

# Install llm-relay dependencies
COPY pyproject.toml README.md ./
Expand Down
Loading