Unverified Commit a0a829bf authored by Daniel Hiltgen's avatar Daniel Hiltgen Committed by GitHub
Browse files

Merge pull request #2142 from dhiltgen/debug_on_fail

Debug logging on init failure
parents 5f81a33f 27a2d5af
......@@ -142,7 +142,9 @@ func newDynExtServer(library, model string, adapters, projectors []string, opts
C.dyn_llama_server_init(llm.s, &sparams, &initResp)
if initResp.id < 0 {
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")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment