You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: LLM - Removed the model launch stage limitations
Model garden models can have various launch stages: GA, public review, private preview.
Previously, the `ModelGardenModel` base class required a model interface class to be marked as preview to be able to use preview models.
This resulted in maintenance issues and unnecessary proliferations of classes, because each class had to be duplicated up to 3 times to be able to accommodate models in different launch stages. For example, some people with a private preview model had wither change their model launch stage or create a special private preview version of the model interface class just to work around the loading restrictions.
The launch stage restriction has confused some of our users. Some user change `text-bison` to `text-bison-32k` and the code starts throwing error.
With this change, the model interface classes no longer reject preview models. The breaking change guarantees now apply separately to the model interface classes and models. A preview class can change when going to GA. A preview model can change when going to GA.
PiperOrigin-RevId: 606430510
0 commit comments