mirror of
https://github.com/mudler/LocalAI
synced 2026-05-24 09:28:23 +00:00
* Initial implementation of upload files api. * Move sanitize method to utils. * Save uploaded data to uploads folder. * Avoid loop if we do not have a purpose. * Minor cleanup of api and fix bug where deleting duplicate filename cause error. * Revert defer of saving config * Moved creation of directory to startup. * Make file names unique when storing on disk. * Add test for files api. * Update dependencies. |
||
|---|---|---|
| .. | ||
| backend | ||
| config | ||
| ctx | ||
| localai | ||
| openai | ||
| options | ||
| schema | ||
| api.go | ||
| api_test.go | ||
| apt_suite_test.go | ||