Added warning if model is too large for system

This commit is contained in:
jeffser 2024-10-13 10:00:43 -06:00
parent 792a81ad03
commit 115e22e52c

View File

@ -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