mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 14:59:27 -05:00
ai: add null check (#1254)
This commit is contained in:
@@ -143,6 +143,7 @@ class GPTMessage extends Service {
|
||||
}
|
||||
|
||||
addDelta(delta) {
|
||||
if (delta == null) return;
|
||||
if (this.thinking) {
|
||||
this.thinking = false;
|
||||
this.content = delta;
|
||||
|
||||
Reference in New Issue
Block a user