Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
fix nil pointer dereference
Michael Yangde227b620f8b
diff --git a/server/images.go b/server/images.goindex 23b8de2c1..737b93ca5 100644--- a/server/images.go+++ b/server/images.go@@ -1300,7 +1300,7 @@ func makeRequestWithRetry(ctx context.Context, method string, requestURL *url.UR}func makeRequest(ctx context.Context, method string, requestURL *url.URL, headers http.Header, body io.Reader, regOpts *RegistryOptions) (*http.Response, error) {- if requestURL.Scheme != "http" && regOpts.Insecure {+ if requestURL.Scheme != "http" && regOpts != nil && regOpts.Insecure {requestURL.Scheme = "http"}