The model duplicate displayed after upgrade to v1.1.1
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
v1.1.1
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
When I upgraded to v1.1.1, the model name was duplicated.
I checked the database and found that there is no duplication of models in the database.
select model_name,count(*)
from provider_models
where provider_name ='langgenius/azure_openai/azure_openai'
group by model_name;
✔️ Expected Behavior
No response
❌ Actual Behavior
No response
@xdmushui Hello! I'm here to assist you with any bugs, questions, or contributions. Let's tackle this issue together!
The issue you're experiencing with model duplication in the display after upgrading to Dify v1.1.1, despite the database showing no duplicates, could be related to how the platform handles model listing and display in the user interface. Unfortunately, I couldn't find specific information on changes in v1.1.1 that might affect model display or duplication.
However, it's possible that the upgrade process or a caching mechanism might be causing this discrepancy. You might want to check if there are any caching layers or frontend components that could be displaying outdated information. Additionally, reviewing any recent changes in the UI components related to model display might help identify the cause.
If the issue persists, consider checking the release notes or documentation for any known issues related to model display in v1.1.1, or any changes in the UI rendering logic that might have been introduced in this version.
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
Are there any records with the query where provider_name ='azure_openai'?
the same
@xdmushui @opsvr202
I suspect that the database contains models with both providers: langgenius/azure_openai/azure_openai (in 1.x format) and azure_openai (in 0.x format).
If that's the case, I think it's a side effect of the solution introduced in https://github.com/langgenius/dify/pull/16089 as a resolution for https://github.com/langgenius/dify/issues/15667, and it may simply be sufficient to delete one of the duplicate models.
Is it enough to delete the record with provider_name = 'azure_openai'?
Hi, @xdmushui. I'm Dosu, and I'm helping the Dify team manage their backlog and am marking this issue as stale.
Issue Summary
- Bug reported in version 1.1.1: model names appear duplicated in the interface.
- Occurs in a self-hosted Docker setup; no duplication in the database.
- I suggested checking for caching issues or UI component changes.
- Discussion on potential database issues; models might exist in both new and old formats.
- You inquired about deleting a specific record to resolve the problem.
Next Steps
- Is this issue still relevant to the latest version of the Dify repository? If so, please comment to keep the discussion open.
- Otherwise, this issue will be automatically closed in 15 days.
Thank you for your understanding and contribution!