mirror of
https://github.com/mudler/LocalAI.git
synced 2025-05-21 11:04:59 +00:00
refactor: backend/service split, channel-based llm flow (#1963)
Refactor: channel based llm flow and services split --------- Signed-off-by: Dave Lee <dave@gray101.com>
This commit is contained in:
parent
1981154f49
commit
eed5706994
52 changed files with 3064 additions and 2279 deletions
6
pkg/concurrency/types.go
Normal file
6
pkg/concurrency/types.go
Normal file
|
@ -0,0 +1,6 @@
|
|||
package concurrency
|
||||
|
||||
type ErrorOr[T any] struct {
|
||||
Value T
|
||||
Error error
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue