feat(webui): include all static assets as part of the image
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
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.
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
Are there any plans as to when or with which version this will be implemented?
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.
Still not included.