poe-platform / server-bot-quick-start

Tutorial for Poe server bots
1.31k stars 192 forks source link

requirements.txt file is missing #66

Closed imtiyazakiwat closed 9 months ago

imtiyazakiwat commented 9 months ago

The project is missing the "requirements.txt" file.

tonghuikang commented 9 months ago

Each bot now has it own individual Python requirements (which can be different between bots)

REQUIREMENTS = ["fastapi-poe==0.0.24"]
image = Image.debian_slim().pip_install(*REQUIREMENTS)

I think you still need libraries like modal and fastapi-poe to deploy the bots. Therefore, I think we should still have a requirements.txt for the entire project.

For now, if there are missing libraries when you try to deploy or serve Modal, you just pip install what is missing.

anmolsingh95 commented 9 months ago

Just added back the top level requirements.txt. The modal-client library wasn't included in this file as it's recommended that you install the latest version.

imtiyazakiwat commented 9 months ago

Got it, thanks.