mirror of
https://github.com/mudler/LocalAI.git
synced 2025-06-29 22:20:43 +00:00
local settings refactor for threads and backend
This commit is contained in:
parent
6e3cbe3be8
commit
8fc4b6cded
3 changed files with 23 additions and 19 deletions
4
main.go
4
main.go
|
@ -155,7 +155,7 @@ It uses llama.cpp, ggml and gpt4all as backend with golang c bindings.
|
|||
|
||||
testField, exists := v2ConfigManager.GetConfig(reg)
|
||||
if exists {
|
||||
log.Log().Msgf("!! %s: %s", testField.GetRegistration().Endpoint, testField.GetLocalPaths().Model)
|
||||
log.Log().Msgf("!! %s: %s", testField.GetRegistration().Endpoint, testField.GetLocalSettings().ModelPath)
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -164,7 +164,7 @@ It uses llama.cpp, ggml and gpt4all as backend with golang c bindings.
|
|||
|
||||
log.Log().Msgf("NEW v2 test: %+v", v2Server)
|
||||
}
|
||||
|
||||
|
||||
app, err := api.App(
|
||||
api.WithConfigFile(ctx.String("config-file")),
|
||||
api.WithJSONStringPreload(ctx.String("preload-models")),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue