After selecting the Gemini model, the settings below do not appear
Self Checks
- [x] This is only for bug report, if you would like to ask a question, please head to Discussions.
- [x] I have searched for existing issues search for existing issues, including closed ones.
- [x] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
- [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
- [x] Please do not modify this template :) and fill in all the required fields.
Dify version
1.2
Cloud or Self Hosted
Cloud
Steps to reproduce
As shown in the figure, after selecting the Gemini model in the process, the parameters below cannot be displayed and a continuous loading animation appears
✔️ Expected Behavior
No response
❌ Actual Behavior
No response
I found a similar unsolved discussion that might be relevant to your issue: Help! can not access set up model provider [1].
Regarding your issue with the Gemini model settings not appearing and a continuous loading animation being displayed, there are a few known issues related to the Gemini model in Dify. In particular, some newer Gemini models, like the Gemini 2.0 Pro and Flash versions, may not appear in the model selection dropdown due to them not being officially released yet, even if they are developed and merged into the codebase [2][3].
Additionally, ensure that you have installed at least one model provider from the marketplace and configured it properly with an API key, as this is necessary for the settings to load successfully [4]. If the issue persists, it might be related to a bug in the current version you are using.
To continue talking to Dosu, mention @dosu.
Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other
Same situation: Any model that selects Gemini after upgrading and installing Gemini 0.1.4 will not display model parameters. But switching to gemini 0.1.3 shows the model normally. As long as it is my newly developed model plug-in, it is like this until the cloud.dify.ai, the model parameters are not displayed, and if you run the app, it will always be stuck on the new model call. But there is no problem with installing directly on self host (dify 1.2, docker).
Update to 0.1.5 can fix this issue.
-
Related PR
-
https://github.com/langgenius/dify-official-plugins/pull/720
-
Related issues
-
https://github.com/langgenius/dify-official-plugins/issues/758
-
https://github.com/langgenius/dify-official-plugins/issues/755
-
https://github.com/langgenius/dify/issues/18413
It only happens on Dify SaaS(even on 1.3.0). I can not figure it out why it works with the PR tho..
@WilsonVasc56 @crazywoola
0.2.0 has same problem, api logs show: api_generate.py error: can only concatenate str (not "list") to str. Switched to 0.1.5 and it works