Our site config had this and it was working fine:
"modelName": "gemini-2.5-pro-preview-03-25",
"modelRef": "google::v1::gemini-2.5-pro-preview-03-25",
But then suddenly I got:
Google (Sourcegraph Cody Gateway): unexpected status code 400: {“error”:"model "google/gemini-2.5-pro-preview-03-25" is not allowed
So I tried moving to the stable model name:
"modelName": "gemini-2.5-pro",
"modelRef": "google::v1::gemini-2.5-pro",
Same not-found error. So I tried this newer preview model:
"modelName": "gemini-2.5-pro-preview-06-05",
"modelRef": "google::v1::gemini-2.5-pro-preview-06-05",
Same not-found error. So I tried this other preview model:
"modelName": "gemini-2.5-pro-preview-05-06",
"modelRef": "google::v1::gemini-2.5-pro-preview-05-06",
I think I’ve now exhausted all the Gemini 2.5 Pro model names available from Google. So what’s going on here? Is 2.5 Pro no longer supported?
Chris