Google's Gemini API as a provider for AI Assistant?
Is there a way to add it?
https://ai.google.dev/ https://ai.google.dev/gemini-api/docs
It's not in quickadd docs at the moment
[
{
"error": {
"code": 400,
"details": [
{
"@type": "type.googleapis.com/google.rpc.BadRequest",
"fieldViolations": [
{
"description": "Invalid JSON payload received. Unknown name \"frequency_penalty\": Cannot find field."
},
{
"description": "Invalid JSON payload received. Unknown name \"presence_penalty\": Cannot find field."
}
]
}
],
"message": "Invalid JSON payload received. Unknown name \"frequency_penalty\": Cannot find field.\nInvalid JSON payload received. Unknown name \"presence_penalty\": Cannot find field.",
"status": "INVALID_ARGUMENT"
}
}
]
Seems like gemini provider doesn't accept some additional params
@chhoumann, any luck on this one, pls? 😇
I just get a 404 error @Wanbicoi how do you get the Error info from QuickAdd plugin?
@thoughtfuldata I use mitmproxy to capture all requests
any one found solution??
Hey! I added proper support for Gemini in #884. Will be supported in the next release! Let me know if it works as intended for you!
:tada: This issue has been resolved in version 2.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
perfect, thanks!