mirror of
https://github.com/ollama/ollama.git
synced 2025-03-19 06:11:51 +01:00
This fixes panics introduced in 2412adf42b8380748ac79476e273f5b337c3b977 when Gin ungracefully assumes that the http.ResponseWriter implements http.CloseNotifier and http.Flusher, which our new statusCodeRecorder does not. This is a temporary fix until we can pour the rest of the Gin out.