Skip to content

Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

it will always return an error due to Kill() discarding Wait() errors

Mark Wardba26c7aa0063
diff --git a/llm/server.go b/llm/server.go
index c9636a82d..c7a2609fa 100644
--- a/llm/server.go
+++ b/llm/server.go
@@ -903,9 +903,7 @@ func (s *llmServer) Close() error {
return err
}
- if err := s.cmd.Wait(); err != nil {
- return err
- }
+ _ = s.cmd.Wait()
slog.Debug("llama server stopped")
}