All current models disappear after adding embedding model in OpenAI Compatible plugin #89

Closed
opened 2026-02-16 10:18:02 -05:00 by yindo · 4 comments
Owner

Originally created by @AnotiaWang on GitHub (Mar 18, 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 Dify issues & Dify Official Plugins, 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

1.0.1

Plugin version

0.0.9

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

  1. Add an embedding model in the OpenAI Compatible Plugin.

✔️ Error log

No obvious error logs from the plugin-daemon and api Docker service.

The dissappeared models can still be called in workflows, but the calls will fail with error core.errors.error.ProviderTokenNotInitError: Model xxxxx credentials is not initialized.

Originally created by @AnotiaWang on GitHub (Mar 18, 2025). ### Self Checks - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [Dify issues](https://github.com/langgenius/dify/issues) & [Dify Official Plugins](https://github.com/langgenius/dify-official-plugins/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. ### Dify version 1.0.1 ### Plugin version 0.0.9 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce 1. Add an embedding model in the OpenAI Compatible Plugin. ### ✔️ Error log No obvious error logs from the `plugin-daemon` and `api` Docker service. The dissappeared models can still be called in workflows, but the calls will fail with error `core.errors.error.ProviderTokenNotInitError: Model xxxxx credentials is not initialized.`
yindo added the bug label 2026-02-16 10:18:02 -05:00
yindo closed this issue 2026-02-16 10:18:02 -05:00
Author
Owner

@AnotiaWang commented on GitHub (Mar 18, 2025):

Here's a screen record of the issue:

https://github.com/user-attachments/assets/c565a67e-b32b-4f27-b31d-54d2c782e0d2

@AnotiaWang commented on GitHub (Mar 18, 2025): Here's a screen record of the issue: https://github.com/user-attachments/assets/c565a67e-b32b-4f27-b31d-54d2c782e0d2
Author
Owner

@kurokobo commented on GitHub (Mar 19, 2025):

Perhaps this is solved in 1.1.0, upgrade your Dify to 1.1.0 and try again.
Related issue and PR are here:

@kurokobo commented on GitHub (Mar 19, 2025): Perhaps this is solved in 1.1.0, upgrade your Dify to 1.1.0 and try again. Related issue and PR are here: - https://github.com/langgenius/dify/issues/15667 - https://github.com/langgenius/dify/pull/16089
Author
Owner

@AnotiaWang commented on GitHub (Mar 19, 2025):

Some models are duplicated. After I add a new model (say model-A), the duplicate models disappear. And after I delete model-A, the old models become duplicated again.

Image
@AnotiaWang commented on GitHub (Mar 19, 2025): Some models are duplicated. After I add a new model (say model-A), the duplicate models disappear. And after I delete model-A, the old models become duplicated again. <img width="461" alt="Image" src="https://github.com/user-attachments/assets/b2a8a187-b78a-4f62-b4ff-dd710d66bb8b" />
Author
Owner

@dosubot[bot] commented on GitHub (Aug 17, 2025):

Hi, @AnotiaWang. I'm Dosu, and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale.

Issue Summary:

  • You reported that adding an embedding model to the OpenAI Compatible plugin in Dify v1.0.1 caused all current models to disappear and calls to fail due to uninitialized credentials.
  • You also observed model duplication behavior when adding or deleting models.
  • The maintainer suggested upgrading to Dify v1.1.0, which includes fixes for these issues.
  • You provided a screen recording and screenshot to illustrate the problem.
  • The issue was resolved by upgrading to v1.1.0, which addressed model management and credential initialization.

Next Steps:

  • Please confirm if this issue is still relevant with the latest version of the dify-official-plugins repository by commenting here.
  • If no further updates are provided, I will automatically close this issue in 5 days.

Thank you for your understanding and contribution!

@dosubot[bot] commented on GitHub (Aug 17, 2025): Hi, @AnotiaWang. I'm [Dosu](https://dosu.dev), and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale. **Issue Summary:** - You reported that adding an embedding model to the OpenAI Compatible plugin in Dify v1.0.1 caused all current models to disappear and calls to fail due to uninitialized credentials. - You also observed model duplication behavior when adding or deleting models. - The maintainer suggested upgrading to Dify v1.1.0, which includes fixes for these issues. - You provided a screen recording and screenshot to illustrate the problem. - The issue was resolved by upgrading to v1.1.0, which addressed model management and credential initialization. **Next Steps:** - Please confirm if this issue is still relevant with the latest version of the dify-official-plugins repository by commenting here. - If no further updates are provided, I will automatically close this issue in 5 days. Thank you for your understanding and contribution!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#89