Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] 访问密码不正确时候,出现的提示信息可定制(通过环境变量) #6047

Open
wang20150419 opened this issue Jan 6, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@wang20150419
Copy link

🥰 Feature Description

访问密码不正确时候,现在的提示是这样的:

😆 对话遇到了一些问题,不用慌:
1️⃣ 想要零配置开箱即用,点击这里立刻开启对话 🚀
2️⃣ 如果你正在使用私有部署版本,点击这里输入访问秘钥 🔑
3️⃣ 如果你想消耗自己的 OpenAI 资源,点击这里修改设置 ⚙️

希望对第一行提示:“😆 对话遇到了一些问题,不用慌:” 可定制。原因:自建服务器,修改了访问口令,访问者不知,可根据提示做进一步处理。(如:提示中的暗号密码,或直接联系访问者等)

🧐 Proposed Solution

通过环境变量,定制密码不正确时候的第一行提示。

📝 Additional Information

No response

@wang20150419 wang20150419 added the enhancement New feature or request label Jan 6, 2025
@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Title: [Feature Request] When the access password is incorrect, the prompt message that appears can be customized (through environment variables)

🥰 Feature Description

When the access password is incorrect, the current prompt is as follows:

😆 There are some problems in the conversation, don’t panic:
1️⃣ If you want to use it out of the box with zero configuration, Click here to start the conversation immediately 🚀
2️⃣ If you are using a private deployment version, click here to enter the access key 🔑
3️⃣ If you want to consume your own OpenAI resources, click here to modify the settings ⚙️

I hope the first line will be prompted: "😆 The conversation encountered some problems, don't panic:" It can be customized. Reason: Self-built server, access password has been modified, visitors do not know, can follow the prompts for further processing. (For example: password in the prompt, or contacting the visitor directly, etc.)

🧐 Proposed Solution

Through environment variables, customize the first line of prompt when the password is incorrect.

📝 Additional Information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants