app runs on my device after getting api keys and deleting chat code