Missing MODEL_LB_ENABLED environment variable in .env.example and docker-compose template #14301

Closed
opened 2026-02-21 19:16:35 -05:00 by yindo · 1 comment
Owner

Originally created by @hejuntt1014 on GitHub (May 29, 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 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.4.1

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

  1. Check docker/.env.example for MODEL_LB_ENABLED
  2. Try to configure model load balancing via environment variables

✔️ Expected Behavior

MODEL_LB_ENABLED should be included in .env.example to allow users to configure model load balancing.

Actual Behavior

MODEL_LB_ENABLED is missing from .env.example, making it impossible to configure model load balancing through standard environment files.

Originally created by @hejuntt1014 on GitHub (May 29, 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 [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.4.1 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce 1. Check `docker/.env.example` for `MODEL_LB_ENABLED` 2. Try to configure model load balancing via environment variables ### ✔️ Expected Behavior `MODEL_LB_ENABLED` should be included in `.env.example` to allow users to configure model load balancing. ### ❌ Actual Behavior `MODEL_LB_ENABLED` is missing from `.env.example`, making it impossible to configure model load balancing through standard environment files.
yindo added the 📚 documentation label 2026-02-21 19:16:35 -05:00
yindo closed this issue 2026-02-21 19:16:35 -05:00
Author
Owner

@crazywoola commented on GitHub (May 29, 2025):

https://docs.dify.ai/en/guides/model-configuration/load-balancing#load-balancing

Model load balancing is a paid feature. You can enable it by subscribing to SaaS paid services or purchasing the enterprise edition.

We do not have a plan to enable this feature in CE version.

@crazywoola commented on GitHub (May 29, 2025): https://docs.dify.ai/en/guides/model-configuration/load-balancing#load-balancing > Model load balancing is a paid feature. You can enable it by [subscribing to SaaS paid services](https://docs.dify.ai/en/getting-started/cloud#subscription-plan) or purchasing the enterprise edition. We do not have a plan to enable this feature in CE version.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#14301