Economical Mode is unclickable when no Embedding model is setup #12100

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

Originally created by @DavideDelbianco on GitHub (Mar 25, 2025).

Originally assigned to: @WTW0313 on GitHub.

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

Dify version

1.1.3

Cloud or Self Hosted

Cloud

Steps to reproduce

Create a Knowledge without having an embedding model setup
Click on "Parent Child" indexing method
Cannot go back to Economical indexing modes

Image

✔️ Expected Behavior

Once clicking on the High Quality method "Parent Child" (requiring embedding model), the Economical tab option should remain clickable to be able to go back to Economical Mode.

This depends on a wrong condition at line 900 of /web/app/components/datasets/create/step-two/index.tsx
Image

Where there's a check for an APIKey that it is not necessary in Economical Modes

Actual Behavior

The user is stuck on the High Quality tab until it adds an embedding model or refreshes the page

Originally created by @DavideDelbianco on GitHub (Mar 25, 2025). Originally assigned to: @WTW0313 on GitHub. ### 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 [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. ### Dify version 1.1.3 ### Cloud or Self Hosted Cloud ### Steps to reproduce Create a Knowledge without having an embedding model setup Click on "Parent Child" indexing method Cannot go back to Economical indexing modes ![Image](https://github.com/user-attachments/assets/dd9f1d36-0efd-4c62-a163-9be505cbe31c) ### ✔️ Expected Behavior Once clicking on the High Quality method "Parent Child" (requiring embedding model), the Economical tab option should remain clickable to be able to go back to Economical Mode. This depends on a wrong condition at line 900 of /web/app/components/datasets/create/step-two/index.tsx ![Image](https://github.com/user-attachments/assets/195cb232-27c0-4446-907a-28dc950d1be1) Where there's a check for an APIKey that it is not necessary in Economical Modes ### ❌ Actual Behavior The user is stuck on the High Quality tab until it adds an embedding model or refreshes the page
yindo added the 🐞 bugcloud labels 2026-02-21 19:05:46 -05:00
yindo closed this issue 2026-02-21 19:05:46 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Mar 25, 2025):

The Economical Mode is unclickable when no Embedding model is set up because the system requires the setup of an embedding model to process documents for retrieval. The warning message indicates that the API key setup for the model provider is necessary before enabling the Economical Mode [1].

To resolve this issue in Dify version 1.1.3, you need to complete the API key setup for the model provider. Once the embedding model is properly configured, the Economical Mode should become clickable.

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

@dosubot[bot] commented on GitHub (Mar 25, 2025): <!-- Answer --> The Economical Mode is unclickable when no Embedding model is set up because the system requires the setup of an embedding model to process documents for retrieval. The warning message indicates that the API key setup for the model provider is necessary before enabling the Economical Mode <sup>[[1]](https://github.com/langgenius/dify/blob/main/web/i18n/zh-Hans/dataset-creation.ts)</sup>. To resolve this issue in Dify version 1.1.3, you need to complete the API key setup for the model provider. Once the embedding model is properly configured, the Economical Mode should become clickable. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/1888c44e-b74d-448d-83e5-f23d4c004bf4?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/1888c44e-b74d-448d-83e5-f23d4c004bf4?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/1888c44e-b74d-448d-83e5-f23d4c004bf4?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/1888c44e-b74d-448d-83e5-f23d4c004bf4?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/1888c44e-b74d-448d-83e5-f23d4c004bf4?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/1888c44e-b74d-448d-83e5-f23d4c004bf4?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/1888c44e-b74d-448d-83e5-f23d4c004bf4?feedback_type=other)</sup>
Author
Owner

@DavideDelbianco commented on GitHub (Mar 25, 2025):

Probably the whole disabled expression should be removed because there's no case where the Economical mode should not be clickable, except maybe when it is already the active tab

@DavideDelbianco commented on GitHub (Mar 25, 2025): Probably the whole disabled expression should be removed because there's no case where the Economical mode should not be clickable, except maybe when it is already the active tab
Author
Owner

@WTW0313 commented on GitHub (Mar 25, 2025):

@DavideDelbianco Thank you. I will fix this issue as soon as possible.

@WTW0313 commented on GitHub (Mar 25, 2025): @DavideDelbianco Thank you. I will fix this issue as soon as possible.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#12100