posted an update

StudySnap Update - New AI Chat Feature & Model Selection!

We're excited to announce major updates to StudySnap, your AI-powered study companion!

What's New

** AI Study Assistant Chat**

  • Chat directly with AI about your study materials
  • Ask questions, get explanations, and quiz yourself
  • Context-aware responses based on your notes, PDFs, and images
  • Chat history saved locally for each study set
  • Beautiful markdown formatting for better readability

** Multiple AI Model Support**

  • Choose from 15+ Gemini AI models
  • Includes latest Gemini 3, Gemini 2.5, and Gemini 2.0 models
  • Open-source Gemma models (1B to 27B parameters)
  • Smart fallback system - automatically tries alternative models if one is rate-limited
  • Rate limit information displayed for each model

** Professional Chat UI**

  • Clean, modern chat interface
  • Markdown rendering for formatted responses (bold, italic, code blocks, lists)
  • AI messages now use 95% screen width for better readability
  • Typing indicators and smooth animations
  • Quick suggestion chips to get started

** UI Improvements**

  • Fixed keyboard handling - input field stays visible when typing
  • Optimized message layout to reduce scrolling
  • Model picker modal with detailed descriptions
  • Clear chat history option

Technical Highlights

// Smart model fallback system
const modelsToTry = selectedModel 
  ? [selectedModel, ...GEMINI_MODELS.filter(m => m !== selectedModel)] 
  : GEMINI_MODELS;

// Markdown rendering in chat
<Markdown style={markdownStyles}>
  {msg.content}
</Markdown>

Log in or sign up for Devpost to join the conversation.