I am attempting to use the Gemini API with OpenAI-compatible commands, but I am encountering a 404 error. Below are the details of my setup and the command I am using.
$ go run . --provider openai --model gemini-2.0-flash --url https://generativelanguage.googleapis.com/v1beta/openai/ --key <KEY> asdf
Request: https://generativelanguage.googleapis.com/v1beta/openai/ {
"frequency_penalty": 0,
"messages": [
{
"content": "asdf",
"role": "user"
}
],
"model": "gemini-2.0-flash",
"presence_penalty": 0,
"stream": true,
"temperature": 0.5,
"top_p": 0.5
}
Some error has occurred. Statuscode: 404
Does it support gemini?
I am attempting to use the Gemini API with OpenAI-compatible commands, but I am encountering a 404 error. Below are the details of my setup and the command I am using.
Does it support gemini?