We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02c280c commit a4a4f11Copy full SHA for a4a4f11
app/frontend/src/pages/chat/Chat.tsx
@@ -131,7 +131,7 @@ const Chat = () => {
131
if (event["context"] && event["context"]["data_points"]) {
132
event["message"] = event["delta"];
133
askResponse = event as ChatAppResponse;
134
- } else if (event["delta"]["content"]) {
+ } else if (event["delta"] && event["delta"]["content"]) {
135
setIsLoading(false);
136
await updateState(event["delta"]["content"]);
137
} else if (event["context"]) {
0 commit comments