mirror of
https://github.com/mudler/LocalAI.git
synced 2025-06-29 22:20:43 +00:00
cleanup
This commit is contained in:
parent
115766205c
commit
d4c6407bf4
6 changed files with 71 additions and 109 deletions
3
main.go
3
main.go
|
@ -69,6 +69,8 @@ func main() {
|
|||
EnvVars: []string{"ADDRESS"},
|
||||
Value: ":8080",
|
||||
},
|
||||
// TODO: Cleanup before merge.
|
||||
// Intentionally leaving this behind. It's useful to spin up localai_nethttp if needed.
|
||||
// &cli.StringFlag{
|
||||
// Name: "addressv2",
|
||||
// DefaultText: "Bind address for the API server (DEBUG v2 TEST)",
|
||||
|
@ -187,6 +189,7 @@ It uses llama.cpp, ggml and gpt4all as backend with golang c bindings.
|
|||
|
||||
}
|
||||
|
||||
// TODO Cleanup before merge, Fiber seems to be a suitable replacement.
|
||||
// v2Server := apiv2.NewLocalAINetHTTPServer(v2ConfigManager, loader, ctx.String("addressv2"))
|
||||
|
||||
v2Server := apiv2.RegisterNewLocalAIFiberServer(v2ConfigManager, loader, app)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue