Adds an AI-generated summary and key takeaways to notes marked ai_summary: pending, using your own Gemini or OpenAI API key.