From 115e22e52c2ff976752591a0568137881f4ed63d Mon Sep 17 00:00:00 2001 From: jeffser Date: Sun, 13 Oct 2024 10:00:43 -0600 Subject: [PATCH] Added warning if model is too large for system --- src/connection_handler.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/connection_handler.py b/src/connection_handler.py index 101ef84..daedd41 100644 --- a/src/connection_handler.py +++ b/src/connection_handler.py @@ -19,6 +19,8 @@ def log_output(pipe): print(line, end='') f.write(line) f.flush() + if 'msg="model request too large for system"' in line: + window.show_toast(_("Model request too large for system"), window.main_overlay) except: pass