mirror of
https://github.com/danbulant/dots-hyprland
synced 2026-05-19 04:08:48 +00:00
ai: add null check (#1254)
This commit is contained in:
parent
a763c4148a
commit
2d45a9e9f6
1 changed files with 1 additions and 0 deletions
|
|
@ -143,6 +143,7 @@ class GPTMessage extends Service {
|
|||
}
|
||||
|
||||
addDelta(delta) {
|
||||
if (delta == null) return;
|
||||
if (this.thinking) {
|
||||
this.thinking = false;
|
||||
this.content = delta;
|
||||
|
|
|
|||
Loading…
Reference in a new issue