What time could support LMDEPLOY? #15443

Closed
opened 2026-02-21 19:21:46 -05:00 by yindo · 3 comments
Owner

Originally created by @hanson815 on GitHub (Jul 16, 2025).

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed.
  • 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.

Hello GUYS:
I had deployed a MM-LLMs with lmdeoploy. Unfortunately, i dont know how to integrate it with DIFY. Could u guide me how to make it work?

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 @hanson815 on GitHub (Jul 16, 2025). ### Self Checks - [x] I have read the [Contributing Guide](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) and [Language Policy](https://github.com/langgenius/dify/issues/1542). - [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, otherwise it will be closed. - [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. Hello GUYS: I had deployed a MM-LLMs with lmdeoploy. Unfortunately, i dont know how to integrate it with DIFY. Could u guide me how to make it work? ### 2. Additional context or comments _No response_ ### 3. Can you help us with this feature? - [ ] I am interested in contributing to this feature.
yindo closed this issue 2026-02-21 19:21:46 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Jul 16, 2025):

Hi @hanson815! I'm Dosu and I’m helping the dify team.

Dify does not currently have native or built-in support for LMDeploy. However, you can integrate LMDeploy by developing a custom model provider plugin using Dify's plugin system. This involves creating a YAML manifest to describe your provider, implementing a Python class for API connectivity and credential validation, and registering your models according to Dify's plugin development workflow. You can find step-by-step guidance in the official documentation for developing model plugins and creating model providers.

If LMDeploy exposes an OpenAI-compatible API, you may be able to use Dify's existing OpenAI provider configuration by pointing it to your LMDeploy endpoint, which can simplify the integration process.

There is currently no official timeline or roadmap for native LMDeploy support in Dify. For now, the plugin approach is the recommended path.

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other  Join Discord Share on X

@dosubot[bot] commented on GitHub (Jul 16, 2025): <!-- Greeting --> Hi @hanson815! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the dify team. <!-- Answer --> Dify does not currently have native or built-in support for LMDeploy. However, you can integrate LMDeploy by developing a custom model provider plugin using Dify's plugin system. This involves creating a YAML manifest to describe your provider, implementing a Python class for API connectivity and credential validation, and registering your models according to Dify's plugin development workflow. You can find step-by-step guidance in the official documentation for [developing model plugins](https://github.com/crazywoola/dify-docs-mintlify/blob/a6647b33df40ace51422b11f355ec6e2618bc05e/en/plugins/quick-start/develop-plugins/model-plugin/README.mdx) and [creating model providers](https://github.com/crazywoola/dify-docs-mintlify/blob/a6647b33df40ace51422b11f355ec6e2618bc05e/en/plugins/quick-start/develop-plugins/model-plugin/create-model-providers.mdx). If LMDeploy exposes an OpenAI-compatible API, you may be able to use Dify's existing OpenAI provider configuration by pointing it to your LMDeploy endpoint, which can simplify the integration process. There is currently no official timeline or roadmap for native LMDeploy support in Dify. For now, the plugin approach is the recommended path. <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/65fc5f96-275f-4c8e-b8a5-cf44575c94dd?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/65fc5f96-275f-4c8e-b8a5-cf44575c94dd?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/65fc5f96-275f-4c8e-b8a5-cf44575c94dd?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/65fc5f96-275f-4c8e-b8a5-cf44575c94dd?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/65fc5f96-275f-4c8e-b8a5-cf44575c94dd?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/65fc5f96-275f-4c8e-b8a5-cf44575c94dd?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/65fc5f96-275f-4c8e-b8a5-cf44575c94dd?feedback_type=other)</sup>&nbsp;&nbsp;[![Join Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/langgenius/dify/issues/22527)
Author
Owner

@crazywoola commented on GitHub (Jul 16, 2025):

Try this https://marketplace.dify.ai/plugins/langgenius/openai_api_compatible

@crazywoola commented on GitHub (Jul 16, 2025): Try this https://marketplace.dify.ai/plugins/langgenius/openai_api_compatible
Author
Owner

@hanson815 commented on GitHub (Jul 17, 2025):

Try this https://marketplace.dify.ai/plugins/langgenius/openai_api_compatible

nice !!!! it's work!

@hanson815 commented on GitHub (Jul 17, 2025): > Try this https://marketplace.dify.ai/plugins/langgenius/openai_api_compatible nice !!!! it's work!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#15443