Im from EU and I also got the Error 400. I had to activate billing → Free tier is not available in EEA (including EU), UK and CH
Hi so I’m trying to set up this Gemini 1.5 Pro support, release notes say it is available to Cody Free users, but the dropdown says it’s pro only. So what does it mean to say that the experimental feature is available to Cody Free users?
I’ve encountered Error 400 too.
the key worked (I’ve tested it locally).
Should I enable some feature? Why cody.dev.models
looks disabled?
Try put this at the top of your JSON then restart the IDE after saving.
“cody.dev.models”: [
{
“provider”: “google”,
“model”: “gemini-1.5-pro-latest”,
“tokens”: 1000000,
“apiKey”: “KEY”
},
{
“provider”: “groq”,
“model”: “llama3-70b-8192”,
“tokens”: 8192,
“apiKey”: “KEY”
}
],
As a reminder, instead of using tokens
in the dev model configuration you need to use inputTokens
, because the API has changed.
Additionally, you can use outputTokens
now for the number of tokens the model can respond at maximum.