Skip to content

feat(webui): include all static assets as part of the image #5072

@eku

Description

@eku

LocalAI version:
v2.26.0

Environment, CPU architecture, OS, and Version:

Linux 6.13.6-200.fc41.x86_64 #1 SMP PREEMPT_DYNAMIC x86_64 GNU/Linux

Describe the bug

Running LocalAI from a docker container I see HTTP requests to GitHub when loading the WebUI.

Looks like the container is tracking its usage.

To Reproduce

Just open your browser's development console and load LocalAI's web ui.

Expected behavior

No connection to outside as long as I download aynthing.

The container should be complete in itself except for the models and should not load any HTML elements while used.

Logs

https://github.com/go-skynet/LocalAI/assets/2420543/0966aa2a-166e-4f99-a3e5-6c915fc997dd
https://github.com/mudler/LocalAI/assets/2420543/0966aa2a-166e-4f99-a3e5-6c915fc997dd
https://github-production-user-asset-6210df.s3.amazonaws.com/2420543/257361158-0966aa2a-166e-4f99-a3e5-6c915fc997dd.jpeg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20250325%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20250325T153851Z&X-Amz-Expires=300&X-Amz-Signature=13b128814201d262ae4a907f055bce2efabaffcc2a5d7030b585eea60ec3f154&X-Amz-SignedHeaders=host

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions