diff --git a/frontend/src/app/chat/page.tsx b/frontend/src/app/chat/page.tsx index 842e6867..9fcb054f 100644 --- a/frontend/src/app/chat/page.tsx +++ b/frontend/src/app/chat/page.tsx @@ -28,8 +28,8 @@ export default function ChatPage() { const [messages, setMessages] = useState([]) const [input, setInput] = useState("") const [loading, setLoading] = useState(false) - const [endpoint, setEndpoint] = useState("chat") - const [asyncMode, setAsyncMode] = useState(false) + const [endpoint, setEndpoint] = useState("langflow") + const [asyncMode, setAsyncMode] = useState(true) const [streamingMessage, setStreamingMessage] = useState<{ content: string functionCalls: FunctionCall[] @@ -509,7 +509,7 @@ export default function ChatPage() { onClick={() => setAsyncMode(false)} className="h-7 text-xs" > - Sync + Streaming Off {/* Endpoint Toggle */}