Strange error with gemini api key

I have a problem with integration in dify. I insert the key to gemini in dify and I get an error. I insert the key in settings → model provider selecting the provider.

1 Like

Hey @Karol_Pietrzak , Welcome to the forum.

I guess you missed passing the correct model variant. You can refer the documentation for different model variants.

Thanks.