LocalAI/pkg/grpc
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
..
base refactor(application): introduce application global state (#2072) 2024-04-29 17:42:37 +00:00
backend.go refactor(application): introduce application global state (#2072) 2024-04-29 17:42:37 +00:00
client.go refactor(application): introduce application global state (#2072) 2024-04-29 17:42:37 +00:00
embed.go refactor(application): introduce application global state (#2072) 2024-04-29 17:42:37 +00:00
interface.go refactor(application): introduce application global state (#2072) 2024-04-29 17:42:37 +00:00
server.go fix: security scanner warning noise: error handlers part 1 (#2141) 2024-04-26 10:34:31 +02:00