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 053c1c0 commit f0d6795Copy full SHA for f0d6795
chat/src/components/ChatInterface.tsx
@@ -50,10 +50,10 @@ export default function ChatInterface() {
50
if (eventSourceRef.current) {
51
eventSourceRef.current.close();
52
}
53
-
+
54
// Reset messages when establishing a new connection
55
setMessages([]);
56
57
const eventSource = new EventSource(`${AgentAPIUrl}/events`);
58
eventSourceRef.current = eventSource;
59
0 commit comments