As title suggests, using Gemini with OPENAI_PROXY_BASE don't work with JSONDeserialize error "Missing field `message`".
It looks like Gemini doesn't support some OpenAI feature with its OpenAI compatible API, thus giving the error.
I tried giving request to Gemini API, and this was the response.
[
{
"error": {
"code": 400,
"message": "Invalid JSON payload received. Unknown name \"web_search_options\": Cannot find field.",
"status": "INVALID_ARGUMENT",
"details": [
{
"@type": "type.googleapis.com/google.rpc.BadRequest",
"fieldViolations": [
{
"description": "Invalid JSON payload received. Unknown name \"web_search_options\": Cannot find field."
}
]
}
]
}
}
]