fix: guard empty API key in Google GenAI client (#1699)