LocalAI/pkg/utils
Dave c4f958e11b
refactor(application): introduce application global state (#2072)
* start breaking up the giant channel refactor now that it's better understood - easier to merge bites

Signed-off-by: Dave Lee <dave@gray101.com>

* add concurrency and base64 back in, along with new base64 tests.

Signed-off-by: Dave Lee <dave@gray101.com>

* Automatic rename of whisper.go's Result to TranscriptResult

Signed-off-by: Dave Lee <dave@gray101.com>

* remove pkg/concurrency - significant changes coming in split 2

Signed-off-by: Dave Lee <dave@gray101.com>

* fix comments

Signed-off-by: Dave Lee <dave@gray101.com>

* add list_model service as another low-risk service to get it out of the way

Signed-off-by: Dave Lee <dave@gray101.com>

* split backend config loader into seperate file from the actual config struct. No changes yet, just reduce cognative load with smaller files of logical blocks

Signed-off-by: Dave Lee <dave@gray101.com>

* rename state.go ==> application.go

Signed-off-by: Dave Lee <dave@gray101.com>

* fix lost import?

Signed-off-by: Dave Lee <dave@gray101.com>

---------

Signed-off-by: Dave Lee <dave@gray101.com>
2024-04-29 17:42:37 +00:00
..
base64.go refactor(application): introduce application global state (#2072) 2024-04-29 17:42:37 +00:00
base64_test.go refactor(application): introduce application global state (#2072) 2024-04-29 17:42:37 +00:00
config.go fix: reduce chmod permissions for created files and directories (#2137) 2024-04-26 00:47:06 +02:00
hash.go feat: embedded model configurations, add popular model examples, refactoring (#1532) 2024-01-05 23:16:33 +01:00
json.go fix: do not break on newlines on function returns (#864) 2023-08-04 21:46:36 +02:00
logging.go feat: share models by url (#1522) 2024-01-01 10:31:03 +01:00
path.go refactor(template): isolate and add tests (#2069) 2024-04-19 02:40:18 +00:00
untar.go Gallery repository (#663) 2023-06-24 08:18:17 +02:00
utils_suite_test.go refactor: consolidate usage of GetURI (#674) 2023-06-26 12:25:38 +02:00