Spaces:
Paused
Paused
Update flare-ui/src/app/components/chat/chat.component.ts
Browse files
flare-ui/src/app/components/chat/chat.component.ts
CHANGED
|
@@ -387,7 +387,7 @@ export class ChatComponent implements OnInit, OnDestroy, AfterViewChecked {
|
|
| 387 |
next: res => {
|
| 388 |
const message: ChatMessage = {
|
| 389 |
author: 'assistant',
|
| 390 |
-
text: res.
|
| 391 |
timestamp: new Date()
|
| 392 |
};
|
| 393 |
|
|
|
|
| 387 |
next: res => {
|
| 388 |
const message: ChatMessage = {
|
| 389 |
author: 'assistant',
|
| 390 |
+
text: res.response,
|
| 391 |
timestamp: new Date()
|
| 392 |
};
|
| 393 |
|