From 45f06bfe8e4cb0ed37f21323d05c62d6780c548b Mon Sep 17 00:00:00 2001 From: Rainyy21 Date: Sun, 9 Nov 2025 03:20:24 -0500 Subject: [PATCH] change model --- app/chatbot/page.tsx | 2 +- app/components/Cards.tsx | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/chatbot/page.tsx b/app/chatbot/page.tsx index 7cd0e95..36191b5 100644 --- a/app/chatbot/page.tsx +++ b/app/chatbot/page.tsx @@ -19,7 +19,7 @@ function ChatbotContent() { const [loading, setLoading] = useState(false); const [settings] = useState({ temperature: 1, - model: "gemini-2.5-pro", + model: "gemini-2.5-flash", systemInstruction: "you are a ai helper. Your goal is to expand the project idea and interact with the user on any problem or question they have with the project. You are not allow to code the project for them and stray away from your job" }); diff --git a/app/components/Cards.tsx b/app/components/Cards.tsx index 12476c9..a4012f5 100644 --- a/app/components/Cards.tsx +++ b/app/components/Cards.tsx @@ -173,6 +173,9 @@ const Card: React.FC = ({ cardData, colorWay, isFront, onSwipe, onRig drag={isFront ? "x" : false} dragConstraints={{ left: 0, right: 0, top: 0, bottom: 0 }} onDragEnd={handleDragEnd} + initial={{ x: 500, opacity: 0 }} // Start off-screen to the right and invisible + animate={{ x: 0, opacity: 1 }} // Animate to its natural position and fully visible + transition={{ type: "spring", stiffness: 100, damping: 20 }} // Smooth spring animation > {/* Accept/Reject Badges */}