What problem does it solve? Developers using the @google/generative-ai SDK hit two recurring footguns: a TypeScript error when accessing functionCalls as a property instead of a method, and 429 quota-exceeded failures on free-tier Gemini keys that break goal decomposition calls. ## Core Features & Use Cases - functionCalls accessor fix: Explains that response.response.functionCalls is a method on EnhancedGenerateContentResponse, so it must be invoked as response.response.functionCalls()?.[0] rather than indexed as a property. - 429 quota fallback strategy: Describes an ordered model fallback loop (gemini-2.0-flash, gemini-1.5-flash, gemini-2.0-flash-lite-preview-02-05, gemini-1.5-pro) that retries on rate-limit errors and only throws when all candidates fail. - Use Case: Your Electron app's goal decomposition fails with "Quota exceeded" on a free-tier key. Apply the fallback loop in app/src/main/planner/decompose.ts (now executed on the backend proxy server) so requests recycle through alternate models automatically. ## Quick Start Ask the assistant to fix the TypeScript error on response.response.functionCalls and add a model fallback loop for Gemini 429 errors in decompose.ts.