Skip to content

Rebase on upstream huggingface/chat-ui main - #35

Merged
camielRunai merged 8 commits into
mainfrom
AviadHayumi/chat-ui-repo-clarification
May 28, 2026
Merged

Rebase on upstream huggingface/chat-ui main#35
camielRunai merged 8 commits into
mainfrom
AviadHayumi/chat-ui-repo-clarification

Conversation

@AviadHayumi

Copy link
Copy Markdown
Collaborator

Summary

  • Rebased all run-ai/chat-ui commits on top of latest huggingface/chat-ui:main
  • Resolved merge conflicts in CI workflows, server config, and OpenAI endpoint
  • Ran npm audit fix to address security vulnerabilities (35 → 17, remaining have no available fixes)
  • Verified build passes on Node 24

Changes

  • .github/workflows/build-image.yml — conflict resolved, kept run-ai short SHA approach
  • src/lib/server/config.ts — merged upstream MCP_TOOL_TIMEOUT_MS with DEFAULT_MAX_TOKENS
  • src/lib/server/endpoints/openai/endpointOai.ts — merged upstream provider-suffix logic with DEFAULT_MAX_TOKENS feature
  • package-lock.json — updated via npm audit fix

- Update Dockerfile to build with placeholder path
- Implement sed-based runtime path injection in entrypoint.sh
- Support nested paths without rebuilding (e.g., /level1/level2)
- Update GHCR registry to run-ai organization
- Memory efficient: ~512MB vs 2GB+ for rebuild approach
@AviadHayumi
AviadHayumi force-pushed the AviadHayumi/chat-ui-repo-clarification branch from 61835ef to 2919cc8 Compare May 28, 2026 09:32
@camielRunai
camielRunai merged commit b177a23 into main May 28, 2026
1 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants