I built an AI chat app using Flutter. I switched from using the Google Gemini API to a local AI model that runs on my own device to keep data private. I also added login and sign-up features using Firebase, and used Firestore to save chat history. Now, users can easily see and manage all their past conversations.