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

genai get stream message error proto: (line 2:3): unknown field "error" #22

Closed bi1101 closed 3 months ago

bi1101 commented 3 months ago

Hi, I sometimes get this error message recently. I presume it's due to Google changes?

genai get stream message error proto: (line 2:3): unknown field "error"

zhu327 commented 3 months ago

I tried the new argument, but I found an issue with it, so I rolled back the code, you can re deploy the docker image to solve this issue

zhu327 commented 3 months ago

I feel that the Google SDK is broken, so I'll roll the code again, the latest docker image can be parameterized

bi1101 commented 3 months ago

Hi. After pulling the new Docker image and reverting to your previous code, it appears that this issue persists: genai get stream message error proto: (line 2:3): unknown field "error"