Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Thomas G. Lopes
commited on
Commit
·
f9620c9
1
Parent(s):
7e2783c
mark messages as potentially undefined
Browse files
src/lib/state/conversations.svelte.ts
CHANGED
|
@@ -35,7 +35,7 @@ export class ConversationEntity {
|
|
| 35 |
};
|
| 36 |
|
| 37 |
@Fields.json()
|
| 38 |
-
messages
|
| 39 |
|
| 40 |
@Fields.boolean()
|
| 41 |
streaming = false;
|
|
|
|
| 35 |
};
|
| 36 |
|
| 37 |
@Fields.json()
|
| 38 |
+
messages?: ConversationMessage[];
|
| 39 |
|
| 40 |
@Fields.boolean()
|
| 41 |
streaming = false;
|