When I try to use OpenAI API with Gemini, for example with:
result = await client.chat.completions.create(
messages=[
{
"role": "user",
"content": "Jello world!",
}
],
model="gemini-2.0-flash",
logprobs=True
)
I’m getting Error code: 400 - [{'error': {'code': 400, 'message': 'Invalid JSON payload received. Unknown name "logprobs": Cannot find field.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.BadRequest', 'fieldViolations': [{'description': 'Invalid JSON payload received. Unknown name "logprobs": Cannot find field.'}]}]}}]
I suppose this means that this part of the API isn’t implemented. I’ve found some references to this situation. But I’m wondering to what extent is that the case. Is there a table of the features that are implemented, or some other reference I could rely on?