Releases: run-ai/chat-ui
Releases · run-ai/chat-ui
Release list
v0.20.6
Features
- Add DEFAULT_MAX_TOKENS environment variable for global token limit
- Fix Docker decompression for gz files before sed replacement
Docker Images
ghcr.io/run-ai/chat-ui-db:v0.20.6ghcr.io/run-ai/chat-ui-db:sha-2d5932e7
v0.20.5
fix(docker): decompress gz files before sed replacement
- Decompress all .gz files BEFORE running sed (fixes placeholder in compressed files)
- Delete .br files (brotli not available for recompression)
- Re-compress files after sed replacement
- Add omni-welcome.gif to chatui assets
v0.20.4 - Complete Placeholder Cleanup
Complete Fix - Production Ready
This release includes all fixes and is 100% clean:
What's Fixed
- ✅ Dynamic path-based routing (set
APP_BASEat runtime, no rebuild) - ✅
APP_BASE=/correctly handled as root path - ✅
ENV APP_BASEproperly set for SvelteKit build - ✅ Source maps cleaned (no more
__PLACEHOLDER__in .map files) - ✅ Comprehensive filesystem verification - zero artifacts
Docker Images
ghcr.io/run-ai/chat-ui-db:0.20.4 # Exact version (recommended)
ghcr.io/run-ai/chat-ui-db:0.20 # Minor version
ghcr.io/run-ai/chat-ui-db:0 # Major version
ghcr.io/run-ai/chat-ui-db:latest # LatestUsage
# Root path
docker run -p 3000:3000 -e APP_BASE=/ ...
# Custom path
docker run -p 3000:3000 -e APP_BASE=/chat ...
# Nested path
docker run -p 3000:3000 -e APP_BASE=/admin/chat-ui ...All paths work without rebuilding! 🚀
Verified
- ✅ Tested locally and in Kubernetes
- ✅ Comprehensive filesystem scan (zero placeholders)
- ✅ Memory efficient: ~512MB
- ✅ Multi-platform: amd64 + arm64
v0.20.3 - Critical Fix for Placeholder Build
Critical Bug Fix
🔥 Placeholder Build Issue (BREAKING)
- Fixed Dockerfile to properly set APP_BASE as ENV variable during build
- SvelteKit requires
process.env.APP_BASEto be set, not just ARG - Previous versions (0.20.1, 0.20.2) were incorrectly building for root path only
- This fix ensures the image is actually built with
/__PLACEHOLDER__path
What Was Broken in 0.20.2
The image was built for root path instead of with placeholder, causing:
- Entrypoint script couldn't find
__PLACEHOLDER__directory to move - Runtime path injection was skipped entirely
- Browser received 404 errors for assets
What's Fixed in 0.20.3
- ✅ Image correctly built with
/__PLACEHOLDER__path - ✅ Runtime path injection works for all paths (including
/) - ✅ No more 404 errors
Docker Images
Use these (0.20.3):
ghcr.io/run-ai/chat-ui-db:0.20.3ghcr.io/run-ai/chat-ui-db:0.20ghcr.io/run-ai/chat-ui-db:latest
DO NOT USE 0.20.1 or 0.20.2 - they have the placeholder build bug.
v0.20.2 - Fix Root Path Handling
Bug Fixes
🐛 Root Path Handling
- Fixed an issue where setting
APP_BASE=/would cause 404 errors for assets - The entrypoint script now correctly identifies
/as the root path (equivalent to empty) and removes the placeholder correctly
Docker Images
Available at:
ghcr.io/run-ai/chat-ui:v0.20.2ghcr.io/run-ai/chat-ui-db:v0.20.2ghcr.io/run-ai/chat-ui:0.20ghcr.io/run-ai/chat-ui:0ghcr.io/run-ai/chat-ui:latest
Verified
- Tested with
APP_BASE=/(root path) - Tested with
APP_BASE=/chat(custom path) - No placeholder artifacts remain
v0.20.1 - Dynamic Path-Based Routing
Features
✨ Dynamic Path-Based Routing
- Add support for runtime path configuration via APP_BASE environment variable
- No rebuild needed - uses sed-based placeholder injection
- Supports nested paths (e.g., /level1/level2, /admin/chat-ui)
- Memory efficient: ~512MB startup vs 2GB+ for rebuild approach
Infrastructure
🔧 CI/CD Improvements
- Update workflows for run-ai organization compatibility
- Replace restricted GitHub Actions with shell commands
- Use GitHub-hosted runners (ubuntu-latest)
Docker Images
Available at:
ghcr.io/run-ai/chat-ui:v0.20.1(without MongoDB)ghcr.io/run-ai/chat-ui-db:v0.20.1(with embedded MongoDB)ghcr.io/run-ai/chat-ui:0.20(minor version)ghcr.io/run-ai/chat-ui:0(major version)ghcr.io/run-ai/chat-ui:latest(always latest)
Usage
docker run -p 3000:3000 \
-e APP_BASE=/my-custom-path \
-e OPENAI_BASE_URL=https://router.huggingface.co/v1 \
-e OPENAI_API_KEY=your_key \
ghcr.io/run-ai/chat-ui:v0.20.1Then access at: http://localhost:3000/my-custom-path/