feat: Integrate Google Gemini AI for bookmark enrichment and improve content classification

- Add Google Gemini AI SDK dependency (generativeai:0.9.0)
- Implement GeminiRepository with API key management in TokenManager
- Create AI enrichment feature with loading states and error handling in AddLinkViewModel
- Add AI magic button with shimmer animation to AddLinkScreen for automatic bookmark analysis
- Extend ContentType enum with MUSIC and NEWS categories
- Enhance content type detection with expande
This commit is contained in:
2026-01-31 11:19:41 -05:00
parent 4021aacc1d
commit f88b7ffad3
28 changed files with 2132 additions and 71 deletions
+3
View File
@@ -144,6 +144,9 @@ dependencies {
// JSoup for HTML parsing (metadata extraction)
implementation(libs.jsoup)
// Google Gemini AI SDK
implementation("com.google.ai.client.generativeai:generativeai:0.9.0")
testImplementation(libs.junit)
androidTestImplementation(libs.androidx.junit)