Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"gemini-2.0-flash-001" model not visible in model list (Dify v0.15.3) #13361

Closed
5 tasks done
takatea opened this issue Feb 7, 2025 · 1 comment · Fixed by #13372
Closed
5 tasks done

"gemini-2.0-flash-001" model not visible in model list (Dify v0.15.3) #13361

takatea opened this issue Feb 7, 2025 · 1 comment · Fixed by #13372
Labels
🐞 bug Something isn't working cloud When the version is cloud and it is a bug report

Comments

@takatea
Copy link

takatea commented Feb 7, 2025

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

0.15.3

Cloud or Self Hosted

Cloud

Steps to reproduce

  1. Click on user icon
  2. Select "Settings"
  3. Click "Model Provider"
  4. Open "Show Models" in Gemini section
Image

Additional Notes

Version:

Image

Note:

"gemini-2.0-pro-exp-02-05" model, which was added in the same PR (#13247), is visible in the list.

✔️ Expected Behavior

"gemini-2.0-flash-001" model should be listed in the Gemini model list

❌ Actual Behavior

"gemini-2.0-flash-001" model is not visible in the model list despite being defined in the Gemini model list

@dosubot dosubot bot added cloud When the version is cloud and it is a bug report 🐞 bug Something isn't working labels Feb 7, 2025
Copy link

dosubot bot commented Feb 7, 2025

Hey @takatea! 👋 I'm here to help you with bug fixes, answer questions, and support your contributions. Let's squash those bugs together!

I found a similar closed issue regarding the model list not being synchronized in the Docker version of Dify. The suggested solution includes several areas to investigate:

  1. Model Configuration: Ensure that the models you expect to see are properly configured in the codebase. Check if the models are included in relevant lists such as LLM_BASE_MODELS in the file api/core/model_runtime/model_providers/azure_openai/_constant.py.

  2. Environment Variables: Verify the environment variables related to model providers in your setup. Specifically, check the POSITION_PROVIDER_PINS, POSITION_PROVIDER_INCLUDES, and POSITION_PROVIDER_EXCLUDES settings in your .env file to ensure they are not excluding the models you want to see.

  3. ML Frameworks: Make sure that the necessary ML frameworks (e.g., PyTorch, TensorFlow, Flax) are installed and properly configured in your environment.

  4. Configuration: Ensure that your configuration allows access to local models or external services, which might involve setting the correct network configurations or environment variables.

These steps might help in resolving the issue with the "gemini-2.0-flash-001" model not being visible in the model list [1].

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working cloud When the version is cloud and it is a bug report
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant