`; resolve({ generatedContent: generatedContent }); }, 2000); // Simulating a 2-second delay }); } }); });