Workflow: Save Failed Failed to save workflow: eac...
# support
v
To fix the "each value in nodes.model.provider" error, update your workflow's model section to use the correct OpenAI model name. Replace
"gpt-4.1-mini"
with
"gpt-4o-mini"
as shown below:
Copy code
json
"model": {
  "provider": "openai",
  "model": "gpt-4o-mini",
  "temperature": 0.3,
  "maxTokens": 250
}
Try this change and save your workflow again. Source: information found in the [Vapi Workflow API documentation](https://docs.vapi.ai/api-reference/workflow/workflow-controller-create).
b
This error happen in Workflow , where I cant edit the code , and no matter how many times i change the model , it still happening ,
c
Hi Beelzebub, To address the error with your workflow model provider, ensure you're using a supported OpenAI model name. From your provided example,
"gpt-4o-mini"
is a valid model. Make sure your JSON snippet follows this pattern:
Copy code
json
"model": {
  "provider": "openai",
  "model": "gpt-4o-mini",
  "temperature": 0.3,
  "maxTokens": 250
}
Verify that the model name
"gpt-4o-mini"
is correctly inputted in your workflow. You can reference supported models in the [Structured Output documentation](https://docs.vapi.ai/api-reference/structured-outputs/structured-output-controller-update). If the error persists despite the correct model name, it might be worth checking if there are other configuration issues unrelated to the model that could be causing this.