Simple bot that stores every chat message in an array, and passes them as a prompt to Google Gemini API.
Uses API keys rotation to bypass RPM limits, just ensure that your keys are from different projects in Google Cloud.
Install modules with:
pip3 install telebot requests
Then run with
python3 pybot.py