Skip to content

Some configurations of the environment variable FEATURE_FLAGS are not workingΒ #10402

@toddyoe

Description

@toddyoe

πŸ“± Client Type

Web (Desktop Browser)

πŸ’» Operating System

Windows

πŸ“¦ Deployment Platform

Self hosting Docker

πŸ”§ Deployment Mode

server db (lobe-chat-database image)

πŸ“Œ Version

2.0.0-next.110

🌐 Browser

Chrome, Firefox

πŸ› Bug Description

The environment variable FEATURE_FLAGS is already set to -language_model_settings,-openai_api_key,-openai_proxy_url,-welcome_suggest,-clerk_sign_up,-dalle,+group_chat,-provider_settings,-api_key_manage, but the provider can still be configured or the model list can still be modified in the user settings. This issue did not exist in previous versions (v1.x).

Image

πŸ“· Recurrence Steps

No response

🚦 Expected Behavior

Once the FEATURE_FLAGS configuration is set, users cannot modify the supplier and model list, eliminating the need for an entry point in the user settings center.

πŸ“ Additional Information

No response

πŸ› οΈ Willing to Submit a PR?

None

βœ… Validations

  • Read the docs.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Make sure this is a LobeChat issue and not a third-party library or provider issue.
  • Check that this is a concrete bug. For Q&A, please use GitHub Discussions or join our Discord Server.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions