Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
Unlock mutex when failing to load model (#2117)
Jeffrey Morgan89c4aee29ea0
diff --git a/llm/dyn_ext_server.go b/llm/dyn_ext_server.goindex f1b14ce7e..2da2bb960 100644--- a/llm/dyn_ext_server.go+++ b/llm/dyn_ext_server.go@@ -141,6 +141,7 @@ func newDynExtServer(library, model string, adapters, projectors []string, optsdefer freeExtServerResp(initResp)C.dyn_llama_server_init(llm.s, &sparams, &initResp)if initResp.id < 0 {+ mutex.Unlock()return nil, extServerResponseToErr(initResp)}