Take it easy, sit back and relax
Multi-key polling is already supported by default in #2ad5ec2, so no manual modification or addition is needed.
A so-called Key Pool allows the use of multiple API keys to overcome the concurrency limitations of a 5 key is limited to three requests per minute. By adding a Key Pool, this limit can be bypassed, significantly improving the website's response speed.
Since the project itself does not integrate any database, modifications are relatively simple.
/app/config/server.ts

3684846479.png
OPENAI_API_KEY to include multiple OpenAI API keys separated by English commas (e.g., sk-xxxx1,sk-xxxx2,sk-xxx3), then redeploy.