Cannot add a separate model with the same name but different model id via Xinference #89

Open
opened 2026-02-16 00:19:44 -05:00 by yindo · 0 comments
Owner

Originally created by @Lizsxx on GitHub (Apr 16, 2025).

Self Checks

  • 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.

1. Is this request related to a challenge you're experiencing? Tell me about your story.

When deploying a model via Xinference, both the model name and ID are required. For instance, I previously configured a model named jina-embedding-v3 with ID jina-embedding-v3.
When I tried to deploy a new instance of the same model name but with a different ID (jina-embedding-v3-query), Dify overwritten the original model instead of creating a new one.
What my purpose is to have two distinct models sharing the same name (jina-embedding-v3) but with unique IDs (jina-embedding-v3 and jina-embedding-v3-query).

2. Additional context or comments

No response

3. Can you help us with this feature?

  • I am interested in contributing to this feature.
Originally created by @Lizsxx on GitHub (Apr 16, 2025). ### Self Checks - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### 1. Is this request related to a challenge you're experiencing? Tell me about your story. When deploying a model via Xinference, both the model name and ID are required. For instance, I previously configured a model named jina-embedding-v3 with ID jina-embedding-v3. When I tried to deploy a new instance of the same model name but with a different ID (jina-embedding-v3-query), Dify overwritten the original model instead of creating a new one. What my purpose is to have two distinct models sharing the same name (jina-embedding-v3) but with unique IDs (jina-embedding-v3 and jina-embedding-v3-query). ### 2. Additional context or comments _No response_ ### 3. Can you help us with this feature? - [ ] I am interested in contributing to this feature.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-plugin-daemon#89