Skip to content

Fix: Add placeholder files for react-ui/dist and static directories#8892

Closed
localai-bot wants to merge 2 commits intomudler:masterfrom
localai-bot:fix/pr-8855-isolated
Closed

Fix: Add placeholder files for react-ui/dist and static directories#8892
localai-bot wants to merge 2 commits intomudler:masterfrom
localai-bot:fix/pr-8855-isolated

Conversation

@localai-bot
Copy link
Contributor

This PR adds placeholder files required for the embed directives in the LocalAI codebase.

Changes

  • Added react-ui/dist/index.html and .gitkeep
  • Added static/.gitkeep
  • Added core/http/react-ui/dist with placeholder files
  • Generated protobuf files in pkg/grpc/proto/

Context

This fix addresses the build errors related to missing embed directories that were causing CI failures in PR #8855.

Testing

  • Verified local build passes: go build ./cmd/local-ai

Refs: #8855

- Create react-ui/dist with placeholder index.html and .gitkeep
- Create static directory with .gitkeep
- Create core/http/react-ui/dist with placeholder files (forced add due to .gitignore)
- Generated protobuf files in pkg/grpc/proto/

This fixes the embed directive errors when building LocalAI.
@netlify
Copy link

netlify bot commented Mar 9, 2026

Deploy Preview for localai ready!

Name Link
🔨 Latest commit ac5d15a
🔍 Latest deploy log https://app.netlify.com/projects/localai/deploys/69ae77b24e8bd70008303296
😎 Deploy Preview https://deploy-preview-8892--localai.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

- Run protoc to generate backend.pb.go and backend_grpc.pb.go
- Move generated files to pkg/grpc/proto/ directory
- This fixes the missing proto package import errors
@mudler mudler closed this Mar 9, 2026
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