Personal clone: Personalized assistant

Define a function like localCloneResponse(message) that returns a predefined response.
Add a variable like useAI that is determined in real-time.
If useAI is true, call the Gemini API; if false, use the local function.
Store the history in localStorage to maintain context.