zhu327 / gemini-openai-proxy

A proxy for converting the OpenAI API protocol to the Google Gemini Pro protocol.
MIT License
504 stars 92 forks source link

Chinese Location #29

Closed 1487879421888 closed 2 months ago

1487879421888 commented 2 months ago

Hello,

I am reaching out on behalf of several users from the China region who have deployed the gemini-openai-proxy Docker image but are facing consistent access timeout issues. The error being encountered frequently is a connection reset during API interactions.

Given that there might be unique considerations for accessing services like these from China, could you provide guidance or recommendations on how to ensure reliable access? Are there specific configurations, additional proxy setups, or any other steps that we should consider to address this timeout problem?

Any help or suggestions you could offer would be greatly appreciated.

Thank you for your assistance.

Best regards, Jack

zhu327 commented 2 months ago

It is recommended to deploy the service in a region supported by gemini

https://ai.google.dev/gemini-api/docs/available-regions

wisonyun commented 1 week ago

can't support proxy?