LocalAI
LocalAI copied to clipboard
More appropriate place for data storing
The /usr/share subtree in Linux is used for data that generally are not supposed to change. Conventional places for changeable data are usually located under /var, so /var/lib seems to be a reasonable default here.
Deploy Preview for localai ready!
| Name | Link |
|---|---|
| Latest commit | dbbc6851df0c36eda8a33ec3e3fac2953b8408c7 |
| Latest deploy log | https://app.netlify.com/projects/localai/deploys/69274566d20210000838be97 |
| Deploy Preview | https://deploy-preview-7361--localai.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify project configuration.
while I do agree in principle, if we have to move these values, we should do it also as well for the rest of the code: https://github.com/search?q=repo%3Amudler%2FLocalAI%20usr%2Fshare&type=code
Yes, of course. I've done it and updated the branch. But I've noticed yet another mismatch by the way: the base data directory name is "local-ai" in docs/static/install.sh and docs/content/installation/linux.md, meanwhile in all other files it is "localai". Should we unify this name as well?
Yes, of course. I've done it and updated the branch. But I've noticed yet another mismatch by the way: the base data directory name is "local-ai" in docs/static/install.sh and docs/content/installation/linux.md, meanwhile in all other files it is "localai". Should we unify this name as well?
ouch, good catch, yes please, if we have to be disurptive, better do it once. thanks!
Ok, done. Now it is "local-ai" everywhere.