genkit icon indicating copy to clipboard operation
genkit copied to clipboard

Deprecate Gemini 1.0 Pro Vision

Open thatfiredev opened this issue 1 year ago • 1 comments

According to https://ai.google.dev/gemini-api/docs/models/gemini#model-variations the Gemini 1.0 Pro Vision model is deprecated.

Is there a way of deprecating models in Genkit ?

thatfiredev avatar Jun 14 '24 16:06 thatfiredev

Could do it in 2 ways:

  • Add a JSDoc @deprecated flag.
  • Also show a warning in the console when the model is called (I think this can be added as a middleware internally?).

pr-Mais avatar Jul 30 '24 11:07 pr-Mais