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