Debug logging on init failure
This commit is contained in:
parent
5f81a33f43
commit
27a2d5af54
1 changed files with 3 additions and 1 deletions
|
@ -142,7 +142,9 @@ func newDynExtServer(library, model string, adapters, projectors []string, opts
|
||||||
C.dyn_llama_server_init(llm.s, &sparams, &initResp)
|
C.dyn_llama_server_init(llm.s, &sparams, &initResp)
|
||||||
if initResp.id < 0 {
|
if initResp.id < 0 {
|
||||||
mutex.Unlock()
|
mutex.Unlock()
|
||||||
return nil, extServerResponseToErr(initResp)
|
err := extServerResponseToErr(initResp)
|
||||||
|
slog.Debug(fmt.Sprintf("failure during initialization: %s", err))
|
||||||
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
slog.Info("Starting llama main loop")
|
slog.Info("Starting llama main loop")
|
||||||
|
|
Loading…
Reference in a new issue