Skip to content

Commit 115e22e

Browse files
committed
Added warning if model is too large for system
1 parent 792a81a commit 115e22e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/connection_handler.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ def log_output(pipe):
1919
print(line, end='')
2020
f.write(line)
2121
f.flush()
22+
if 'msg="model request too large for system"' in line:
23+
window.show_toast(_("Model request too large for system"), window.main_overlay)
2224
except:
2325
pass
2426

0 commit comments

Comments
 (0)