LocalAI icon indicating copy to clipboard operation
LocalAI copied to clipboard

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

Open eku opened this issue 9 months ago • 5 comments

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

eku avatar Mar 25 '25 15:03 eku

I've looked into this and found that the links are to the model logos and/or Local-AI logo.

This should be downloaded with the model and stored locally.

Hello-World-Traveler avatar Mar 26 '25 08:03 Hello-World-Traveler

there is no tracking in place, but the webui relies on some assets from the CDN: we should identify all of these and make them part of the image

mudler avatar Mar 26 '25 13:03 mudler

Are there any plans as to when or with which version this will be implemented?

eku avatar Jun 21 '25 08:06 eku

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar Sep 20 '25 02:09 github-actions[bot]

Still not included.

eku avatar Sep 20 '25 10:09 eku