mirror of
https://github.com/PinkSheep27/SBU-Hackathon.git
synced 2026-10-11 00:40:25 -04:00
change model
This commit is contained in:
@@ -19,7 +19,7 @@ function ChatbotContent() {
|
|||||||
const [loading, setLoading] = useState(false);
|
const [loading, setLoading] = useState(false);
|
||||||
const [settings] = useState<ChatSetting>({
|
const [settings] = useState<ChatSetting>({
|
||||||
temperature: 1,
|
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"
|
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"
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -173,6 +173,9 @@ const Card: React.FC<CardProps> = ({ cardData, colorWay, isFront, onSwipe, onRig
|
|||||||
drag={isFront ? "x" : false}
|
drag={isFront ? "x" : false}
|
||||||
dragConstraints={{ left: 0, right: 0, top: 0, bottom: 0 }}
|
dragConstraints={{ left: 0, right: 0, top: 0, bottom: 0 }}
|
||||||
onDragEnd={handleDragEnd}
|
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 */}
|
{/* Accept/Reject Badges */}
|
||||||
<motion.div
|
<motion.div
|
||||||
|
|||||||
Reference in New Issue
Block a user