GenkitG
Genkitโ€ข16mo agoโ€ข
3 replies
clean-aquamarine

Model Pinning

Hello all, quick questions on model pinning and versioning,
- If you were using a genkit < 0.5.16 and using the default import { gemini15Flash} would you get -002 if google changed it to be the alias? (according to link it still points at 001)
- I want to point to -002, so i drop the import and do the following in the code below, why do I get a model not found error?

          let version = 'gemini-1.5-flash-002';
            let model = `vertexai/${version}`;
            const generate_response = await generate({
                model: model,...

"errorMessage":"undefined Model "vertexai/gemini-1.5-flash-002" not found"
Was this page helpful?