mirror of
https://github.com/ollama/ollama.git
synced 2025-08-03 17:02:44 +02:00
Improve crash reporting (#7728)
Many model crashes are masked behind "An existing connection was forcibly closed by the remote host" This captures that common error message and wires in any detected errors from the log. This also adds the deepseek context shift error to the known errors we capture.
This commit is contained in:
@@ -27,6 +27,7 @@ var errorPrefixes = []string{
|
||||
"\"ERR\"",
|
||||
"error loading model",
|
||||
"GGML_ASSERT",
|
||||
"Deepseek2 does not support K-shift",
|
||||
}
|
||||
|
||||
func (w *StatusWriter) Write(b []byte) (int, error) {
|
||||
|
Reference in New Issue
Block a user