Replies: 1 comment 2 replies
-
Dify does not currently support multiple model configurations with the same model name from the same provider within the same workspace. This is enforced by a unique constraint on the combination of tenant, provider, model name, and model type in the backend, so any attempt to add a duplicate will result in a conflict. There is no built-in alias or alternate name feature to distinguish between such models—this is a known limitation and has been discussed in several issues and feature requests (example, example). Workarounds suggested by maintainers include using irregular or custom model names, or (for self-hosted deployments) copying the provider code to create a new provider entry, but these are not native solutions. There are ongoing discussions about adding a "Model Alias" field, but as of now, this is not implemented (source). If you need to use both pre-configured and custom models with the same name, you will need to rename one of them or use a workaround as above. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Self Checks
Content
When I tried to use Huawei Cloud's MaaS platform, I found that the pre-configured models conflicted with the models I deployed myself because they share the same model name. How can this issue be resolved?
Beta Was this translation helpful? Give feedback.
All reactions