Cannot use custom model with Google Vertex Chat Model

I have fine-tuned a model in Google Vertex AI. The model is called quotes-test2. It was fine-tuned using gemini-1.5-flash as the base.

The message I’m getting is ‘Unsupported Model’.

If I change the model to gemini-1.5-flash in my node, it works fine.

How can I use a fine-tuned model in n8n? I’m open to using other platforms other than Vertex if any work.

Information on your n8n setup

  • n8n version: 1.80.3
  • Running n8n via n8n cloud

I am not confident as I have not personally encountered/tested, but this could be because fine tuned models from google do not support json mode.

Tuned models
Tuned models have the following limitations:

  • The input limit of a tuned Gemini 1.5 Flash model is 40,000 characters.
  • JSON mode is not supported with tuned models.
  • Only text input is supported.